• 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: Speaker Audio when Headphone connected?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speaker Audio when Headphone connected?


  • Subject: Re: Speaker Audio when Headphone connected?
  • From: Brian Willoughby <email@hidden>
  • Date: Mon, 25 Feb 2008 15:36:11 -0800

What about the source/destination property for the output? In Audio MIDI Setup, this appears as a popup button labeled "Source" under the Audio Output. On my Power Mac, this lists "Internal speakers" and "Digital Out".

In other words, if Apple were to (theoretically) make it possible for software to enable the built-in speakers, even overriding anything plugged into the headphone jack, wouldn't the proper CoreAudio API access to this be through some property of the output stream?

Certain Apple computers may physically be capable of this routing, but third-party programmers only have access to what is supported. It would seem that there is already a supported API for handling this situation. Whether or not it is implemented in the current release is another question.

I went looking for the code, and I see: kAudioJackControlClassID, a boolean which seems to only indicate whether something is plugged in or not; kAudioDataSourceControlClassID and kAudioDataDestinationControlClassID, which might be appropriate, even though it seems Audio MIDI Setup should label the Audio Output "Destination", not "Source"; and then there are many options for settings the PlayThroughDestination, which are not appropriate. The Audio Data Source/Destination Control Class ID properties have associated properties which list the available options, and could be used to populate the popup button.

Brian Willoughby
Sound Consulting

_______________________________________________
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: Speaker Audio when Headphone connected?
      • From: Jeff Moore <email@hidden>
References: 
 >Speaker Audio when Headphone connected? (From: "Paul Haddad" <email@hidden>)
 >Re: Speaker Audio when Headphone connected? (From: Jeff Moore <email@hidden>)
 >Re: Speaker Audio when Headphone connected? (From: "Paul Haddad" <email@hidden>)
 >Re: Speaker Audio when Headphone connected? (From: Jeff Moore <email@hidden>)
 >Re: Speaker Audio when Headphone connected? (From: Brian Willoughby <email@hidden>)
 >Re: Speaker Audio when Headphone connected? (From: Jeff Moore <email@hidden>)
 >Re: Speaker Audio when Headphone connected? (From: Brian Willoughby <email@hidden>)
 >Re: Speaker Audio when Headphone connected? (From: Jeff Moore <email@hidden>)

  • Prev by Date: UI notification / host Resets?
  • Next by Date: Re: Speaker Audio when Headphone connected?
  • Previous by thread: Re: UI notification / host Resets?
  • Next by thread: Re: Speaker Audio when Headphone connected?
  • Index(es):
    • Date
    • Thread