• 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
priming the NSBeep pump?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Commandline Tool Help - NSDistantObject and NSConnection
  • Next by Date: Re: How to imitiate mouse move programmatically? [NSApp postEvent:atStart:] does not work...
  • Previous by thread: Re: Odd behavior of [NSDateFormatter dateFromString] with short years?
  • Next by thread: NSTreeController insert crashes under 10.5 and not 10.6 with -[NSKeyValueFastMutableArray2 count]: value for key children of object is nil
  • Index(es):
    • Date
    • Thread