priming the NSBeep pump?
priming the NSBeep pump?
- Subject: priming the NSBeep pump?
- From: Matt Neuburg <email@hidden>
- Date: Tue, 03 Nov 2009 08:19:39 -0800
- Thread-topic: priming the NSBeep pump?
My app sometimes needs to beep to signal the user that something is a no-no.
The very *first* NSBeep() call issued after startup sometimes takes quite a
long time to make sound emerge from the computer - long enough that the user
feels that something has gone wrong (because nothing is happening, neither
the thing that was requested nor the beep).
Is there a way to "prime the pump" to eliminate this NSBeep() delay?
m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
AppleScript: the Definitive Guide, 2nd edition
http://www.tidbits.com/matt/default.html#applescriptthings
Take Control of Exploring & Customizing Snow Leopard
http://tinyurl.com/kufyy8
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
_______________________________________________
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