I don't think sndInt16Big is supported by the sampled sound
manager on the m550.  (Palm: Where is this documented?)

But I have seen sampled sound input working just fine using
sndInt16Little, and then byte-swapping all the samples.


Ron Nicholson
HotPaw
   <http://www.hotpaw.com/rhn/hotpaw>

------ Original Message: ------
Dawn Margerum writes:
I'm trying to record a sound sample on  a tungsten T

Can some give me an example of the proper parameters needed for
SndStreamCreate on a tungsten t?
This is what im using now:

 err = SndStreamCreate(&(data->fStream), sndInput,44100,
sndInt16Big,sndStereo,StreamCallback,data, 0,false);

Heres my callback def
static Err StreamCallback(void *userdata, SndStreamRef channel, void
*buffer, UInt32 frameCount)

I am trying to record a sample and while I get through the SndStreamCreate
call without errors, my callback isnt getting called after calling
SndStreamStart

Does any have a working example of a Stream creatoe of type sndInput that
is successfully calling the callBack?

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

Reply via email to