API for switching audio output device or disabling output altogether
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