Re: controlling system muting ?
Re: controlling system muting ?
- Subject: Re: controlling system muting ?
- From: Matt Neuburg <email@hidden>
- Date: Tue, 08 Jul 2008 12:52:57 -0700
- Thread-topic: controlling system muting ?
On or about 7/8/08 10:56 AM, thus spake "I. Savant"
<email@hidden>:
> AudioDeviceSetProperty() is of
> course more efficient but unless you're muting/unmuting the overall
> system volume fifty times per second, the user truly won't notice,
> therefore AppleScript will work **JUST FINE**. ;-)
But that isn't what the OP asked. The OP asks *how* to do it without
AppleScript - not *whether* to do it without AppleScript. Furthermore, the
OP is right that running an AppleScript from within Cocoa/Objective-C is
noticeably slower than going thru CoreAudio. 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, http://tinyurl.com/2ouo3b
Take Control of Customizing Leopard, http://tinyurl.com/2t9629
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