• 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: NSSound play often fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSound play often fails


  • Subject: Re: NSSound play often fails
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 3 Aug 2009 13:37:15 -0700


On 2009 Aug 03, at 11:28, James Walker wrote:

I'm having trouble getting sounds to play reliably. When it happens, -[NSSound play] returns YES, but I hear nothing, and the sound:didFinishPlaying: delegate method is not called. The sound in question is an AIFF file with a duration of about half a second.

Maybe it depends on whether a sound has already been played since the run loop last cycled? If that might be the case, read this...


http://www.cocoabuilder.com/archive/message/cocoa/2009/3/29/233317

Since this was not critical for me at the time, I just accepted Michael's assertion and haven't done any more investigation.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSSound play often fails
      • From: James Walker <email@hidden>
References: 
 >NSSound play often fails (From: James Walker <email@hidden>)

  • Prev by Date: Re: Memory efficient way to get image metadata?
  • Next by Date: Re: Screen savers on Snow Leopard
  • Previous by thread: NSSound play often fails
  • Next by thread: Re: NSSound play often fails
  • Index(es):
    • Date
    • Thread