Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-31-2008, 09:41 AM   #5 (permalink)
bratax
New Member
 
Join Date: Aug 2008
Posts: 2
Default

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
bratax is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,840
Threads: 89,211
Posts: 380,651
Top Poster: BrianSlick (7,129)
Welcome to our newest member, saralo56
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:14 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.