• 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: controlling system muting ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: controlling system muting ?


  • Subject: Re: controlling system muting ?
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 8 Jul 2008 16:02:24 -0400

> 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.

  Actually, the OP said, "running an applescript from code seems to be
a rather clunky approach". Nothing about it being 'noticeably slower'.
I've not compared the two directly but I notice no pause whatsoever
with a button wired to a "create and run a 'mute volume' AppleScript"
method run on my first revision MBP.

  Regardless, I wasn't suggesting he not use CoreAudio, merely that
there's nothing inherently wrong with using AS if all you want to do
is a one-off toggle of mute/unmute. Does it *really* have to happen in
under 5 nanoseconds when 5 milliseconds is practically imperceptible
as it is?

  All I'm saying (and I'll keep saying it) is that in this situation,
AS works just fine.

--
I.S.
_______________________________________________

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

  • Follow-Ups:
    • Re: controlling system muting ?
      • From: Jason Bobier <email@hidden>
References: 
 >Re: controlling system muting ? (From: "I. Savant" <email@hidden>)
 >Re: controlling system muting ? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Removing folder from /Applications
  • Next by Date: Working with Paragraphs in Core Text
  • Previous by thread: Re: controlling system muting ?
  • Next by thread: Re: controlling system muting ?
  • Index(es):
    • Date
    • Thread