Re: Completing a sound before continuing on
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