Hi,
I stumbled upon this post when google-ing around and your problem is the same as my problem I think.
I created my app and added the SpeakHere example's audioplayer. Wav played fine and after some small changes I managed to support mp3. However, when I click the stop button and I restart the mp3, the application has weird behaviour: it crashes after some user interaction (most of the time), it crashes immediately (only happened 1 or 2 times) or sometimes it just works (also 1 or 2 times). After crashing I even have to restart my application and play a .wav file first before I can play an mp3 file again.
With .wav everything is working great: seek();, pause();, stop();, play();, resume();,...
Did you find a solution already?
Did the "clean up & reallocate on every play" do the job? As this seems rather inefficient to me + my application won't even work after a simple restart (like I said, I have to play a wav file first before I can play any mp3 again), so I'm not sure if cleaning everything up would do the job.
Thanks in advance,
bratax
|