Stopping a Sound Stream using Sound Streaming API (PalmOS 5)

> The problem which I am facing is - I have a stop
>button in the application which when pressed should
>stop the playing of sound.Basically when the stop
>button is pressed, I am calling an API of mp3 library
>which stops the playing of sound through
>SndStreamStop().But once the mp3 song starts playing,
>the stop button doesn't respond.On pressing it doesn't
>gets pressed. It seems in my application the event of
>stop button being pressed is not even received by the
>application. Looks like the application doesn't accept
>any other event while the song is being played.

May be the Palm still responds to the event but it is just very slow. On the 
Tungsten|T, some SD
cards work faster than others. You can step in the code in case ctlSelectEvent, does 
your program
jumps to that code? If it does, would it stay in SndStreamStop() for a long time?
Just a thought.

tnn

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

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

Reply via email to