Re: IPhone simulator sound effect
Re: IPhone simulator sound effect
- Subject: Re: IPhone simulator sound effect
- From: Kin Mak <email@hidden>
- Date: Thu, 13 Aug 2009 16:37:28 +0200
Luke and David,
Thanks for the quick responses.
I found the culprit - the system sound id was immediately disposed
after use. It seems that the disposal prevented the sound from playing
After moving the disposal code to the dealloc method, it works fine.
I really appreciate it.
Thanks a lot,
kin
On Aug 13, 2009, at 3:34 PM, Luke the Hiesterman wrote:
Yes it should work. Turn up your system volume?
Here's a sample that plays audio: http://developer.apple.com/iphone/library/samplecode/Metronome/
Luke
On Aug 13, 2009, at 5:13 AM, Kin Mak wrote:
I am wondering if IPhone simulator can be used to play sound
actually?
I was testing some code in my debugger which played some system
sound using AudioToolbox. I saw nothing wrong inside my bebugger.
But no sound was coming out either. :-(
Any help would be highly appreciated.
Thanks
kin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden