Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sspbond007

macrumors member
Original poster
Aug 19, 2008
46
0
Hi,
Is it possible to play two audio files simultaneously.

I modified the 'SpeakHere' to play two audio files simultaneously, it worked perfectly on simulator but get hanged on iphone.

To this I implemented NSTimer, which regularly checks for both player instance every second.As soon as any player gets stopped Timer task stops the second one forcefully and again starts both.

thanks.
 

Nall

macrumors regular
Aug 15, 2003
111
0
I downloaded the CrashLanding application. But it does not play any sound.
It does not play any sound in the simulator in 2.0 -- it's some sort of SDK bug. Try it in the 2.1 simulator, or on a real device of either version.
 

sspbond007

macrumors member
Original poster
Aug 19, 2008
46
0
It does not play any sound in the simulator in 2.0 -- it's some sort of SDK bug. Try it in the 2.1 simulator, or on a real device of either version.

Thanks ,
Yes, you are right. Its working for 2.1 simulator.

I played files of crashlanding in my application with success. But when I add another file to play it gives following error
Code:
Error attaching data to buffer
: a003
Error loading looping file info: 40963

Please help me.
 

sspbond007

macrumors member
Original poster
Aug 19, 2008
46
0
Hi,
thanks,
I got the point, It is playing the .caf files recorded from SpeakHere application.But could not play any other .caf files in my system.
Anyways for the time being this is not my issue, I want to play mp3 files.
How can I do this with CrashLanding Code?
Please help me.
 

sspbond007

macrumors member
Original poster
Aug 19, 2008
46
0
Hi

I found the problem, my simulator option was set to version 2.0 by mistake, thats why it was not playing other files.
Anyways I have no issues now.

Special thanks to Nall for his support and guidance.
 

sspbond007

macrumors member
Original poster
Aug 19, 2008
46
0
Application working perfectly fine on simulator, but not on device, there it play only single file.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.