• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IPhone simulator sound effect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >IPhone simulator sound effect (From: Kin Mak <email@hidden>)
 >Re: IPhone simulator sound effect (From: Luke the Hiesterman <email@hidden>)

  • Prev by Date: 'remoteGlobalIDString' keeps changing in the .xcodeproj
  • Next by Date: Xib "Clipping Content" Bug?
  • Previous by thread: Re: IPhone simulator sound effect
  • Next by thread: 'remoteGlobalIDString' keeps changing in the .xcodeproj
  • Index(es):
    • Date
    • Thread