• 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: DataSourceName notification?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DataSourceName notification?


  • Subject: Re: DataSourceName notification?
  • From: Jeff Moore <email@hidden>
  • Date: Tue, 13 Dec 2005 16:49:14 -0800

I think you misunderstand what is happening here. The mapping between the data source ID and it's name is not changing, rather it is the value of the control itself that is changing. To notified when the value of a control changes, you should listen to the property that represents that control's value. In this case, it would be kAudioDevicePropertyDataSource.

On Dec 13, 2005, at 4:14 PM, Hidetomo Katsura wrote:

when a headphone is plugged in, the data source name is "Headphones" instead of "Internal speakers" on my G5 Dual 2GHz.

i added a kAudioDevicePropertyDataSourceNameForIDCFString property listener, but i didn't get any notification when i plug in and out a headphone. am i using the listener wrong or is it not supposed to get a notification for whatever reason? is there any other way to get a notification when the user plugs in and out a headphone?


--

Jeff Moore
Core Audio
Apple


_______________________________________________ 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: DataSourceName notification?
      • From: Hidetomo Katsura <email@hidden>
References: 
 >DataSourceName notification? (From: Hidetomo Katsura <email@hidden>)

  • Prev by Date: DataSourceName notification?
  • Next by Date: Link problem trying to use audiofloat library in my kext
  • Previous by thread: DataSourceName notification?
  • Next by thread: Re: DataSourceName notification?
  • Index(es):
    • Date
    • Thread