• 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: Completing a sound before continuing on
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Completing a sound before continuing on


  • Subject: Re: Completing a sound before continuing on
  • From: Chad Armstrong <email@hidden>
  • Date: Sun, 17 Apr 2005 16:12:34 -0500

Would something like a wait() or sleep() call (perhaps delayed for just a second or two) also do the trick? Generally the sounds I want to play don't last much longer than a second, I think that an application waiting an extra second while closing wouldn't be overly noticeable.

Chad Armstrong

I have a program which calls NSBeep() and then it closes the program.
I've found that if the default beep is a longer "beep" sound, it will
not always play the entire sound before the program closes.  Is there a
way to have the program wait for the sound to play in its entirety
before quitting?

Also if I want to play an AIFF sound (not with NSBeep, but with other
methods), will I also have the same problem that the sound would not
finish before the program quit?

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Completing a sound before continuing on
      • From: Don Yacktman <email@hidden>
    • Re: Completing a sound before continuing on
      • From: Kay Roepke <email@hidden>
  • Prev by Date: Re: Completing a sound before continuing on
  • Next by Date: setValue vs setObject (NSMutableDictionary)
  • Previous by thread: Re: Completing a sound before continuing on
  • Next by thread: Re: Completing a sound before continuing on
  • Index(es):
    • Date
    • Thread