I'm not sure. I know that the palmOne PluggedIn program has a sample app
that allows you to record to a WAV and play from a WAV using the Palm
Extended Sound API, but I am not sure of it's licensing.

-Donald

"Logan Shaw" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Donald C. Kirker wrote:
>
> > If your wav resource is larger than 64k try splitting it up or
compressing
> > it (if what you are using to decode it supports decompression).
> >
> > You can use a file stream (FileOpen, FileRead, FileClose, ...) to read
the
> > wav from a PDB if need be. You can also use par or similar tools to
create
> > the PDB with the wav in it on the PC.
>
> Speaking of WAVs being too big, is there any freely-available code
> that can parse WAVs?  Palm OS includes WAV-interpreting code, but it
> seems like the only way you can call it is to call SndPlayResource(),
> which gives you no flexibility about where the WAV is coming from.
>
> So it seems like you've got to either (a) parse it yourself, or (b)
> copy it to a big contiguous area of memory.  Could be bad if the WAV
> is big relative to the size of the heap, which is not unlikely on
> the Palm.
>
> Of course you can use a callback to play PCM sample data, but going
> from a WAV to PCM data is not the simplest thing ever, and it'd be
> nice to be able to just include a big WAV in several resource
> records and then string it back together on the fly, or put it
> in a file and read it in on the fly, etc.
>
>   - Logan
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to