The zero parameter for buffer size means use the default length according to the api docs. I switched to sndMono and 8000 but it still doesnt work for me
This is what i have now. err = SndStreamCreate(&(data->fStream), sndInput,8000, sndInt16Little, sndMono, StreamCallback, data, 1024,false); can you send me exactly what you have for parameters? thx, Mike ----- Original Message ----- From: "Ron Nicholson" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Saturday, January 25, 2003 1:11 PM Subject: Re: I'm trying to record a sound sample on a tungsten T > 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); > > Why are you trying to record in stereo into a buffer with zero > length? I didn't think the m550 had a stereo mike or input. > > I've recorded in mono at a sample rates of 8000 and 11025 > into a sndInt16Little buffer of length 512 and 1024 on my > TT. > > Has anyone tried using an ARM callback? > > > Ron Nicholson > HotPaw Productions > <http://www.hotpaw.com/rhn/hotpaw> > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
