• 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: My mute program kills volume, but menubar doesn't show it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My mute program kills volume, but menubar doesn't show it


  • Subject: Re: My mute program kills volume, but menubar doesn't show it
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 26 May 2009 08:59:15 -0700

On Tue, May 26, 2009 at 6:36 AM, Gabriel Berriz <email@hidden> wrote:
> I would like to understand why this is so incredibly difficult to do
> directly via Cocoa and CoreAudio.

I would imagine that the system preference exists at a higher
conceptual level than the hardware device state, and that manipulating
the CoreAudio device itself doesn't notify this higher-level code of
the change.

> As a matter of policy, I don't like
> to call scripts (shell, Perl, Python, AppleScript, etc.) from
> "lower-level" Objective-C (or C++) code.  It simply makes no sense to
> me.

This is *quite* reasonable (in fact, it's my ethos too) but I was
indeed referring to using raw Apple Events as Hamish described.
AppleScript is just a wrapper around Apple Events, and IPC through
Apple Events is a very well-defined thing.

Good luck!
--Kyle Sluder
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >My mute program kills volume, but menubar doesn't show it (From: Gabriel Berriz <email@hidden>)
 >Re: My mute program kills volume, but menubar doesn't show it (From: Kyle Sluder <email@hidden>)
 >Re: My mute program kills volume, but menubar doesn't show it (From: Gabriel Berriz <email@hidden>)
 >Re: My mute program kills volume, but menubar doesn't show it (From: Kyle Sluder <email@hidden>)
 >Re: My mute program kills volume, but menubar doesn't show it (From: Gabriel Berriz <email@hidden>)

  • Prev by Date: Re: Multi channel mixer - kAudioUnitSubType_MultiChannelMixer
  • Next by Date: Re: Problems in creating aggregate device
  • Previous by thread: Re: My mute program kills volume, but menubar doesn't show it
  • Next by thread: Re: My mute program kills volume, but menubar doesn't show it
  • Index(es):
    • Date
    • Thread