Hi!

I want to play a wav file (I'm using Tungsten E2), but I get "fatal exception" when I call SndStreamStart. Before, I make a call to SndStreamCreate and I get no errors, but I think that I'm doing something wrong when calling SndStreamCreate.

Here is my code:

err = SndStreamCreate(&mainStream, sndOutput, 44100, sndInt16Little, sndStereo, sndStreamBufferCallback,
     (void *)&byteArray, AUDIO_BUFF_SIZE, false);

I'm not really sure about sndStreamBufferCallback. Maybe the problem is here... I think that I got a little confused with its parameters! Does anybody have an example that works to show me?

Thanks in advance!!!!!

Kelly

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to