• 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
API for switching audio output device or disabling output altogether
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

API for switching audio output device or disabling output altogether


  • Subject: API for switching audio output device or disabling output altogether
  • From: Roger Thornhill <email@hidden>
  • Date: Fri, 11 Dec 2009 01:21:15 -0500

When an optical cable is inserted into the audio output port on an iMac, a hardware switch is triggered and the sound output device is automatically changed to "Digital Out".  I'd like to know if there's a way to prevent this from happening by programmatically disabling or enabling the optical output.  Right now the only way to switch from optical out to internal speakers is to physically disconnect the cable from the optical output port.  I'd like to figure out if there's a method to do this through software.  If there's no public API to do this, if anyone can point me in the direction of where I might look for private API calls, that would be useful as well.

Roger
 _______________________________________________
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

  • Follow-Ups:
    • Re: API for switching audio output device or disabling output altogether
      • From: tahome izwah <email@hidden>
  • Prev by Date: Re: AU Template Issue on SnowLeopard: Audio Unit Effect template
  • Next by Date: Re: API for switching audio output device or disabling output altogether
  • Previous by thread: can't seem to get kAudioFileStreamProperty_BitRate
  • Next by thread: Re: API for switching audio output device or disabling output altogether
  • Index(es):
    • Date
    • Thread