• 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
How to use kAudioDevicePropertyChannelCategoryName?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use kAudioDevicePropertyChannelCategoryName?


  • Subject: How to use kAudioDevicePropertyChannelCategoryName?
  • From: Jesper Papmehl <email@hidden>
  • Date: Wed, 7 Sep 2005 15:43:54 +0200

Hi!

I am trying to get user interface names of the channels of an audio device. I do this by calling AudioDeviceGetProperty with the kAudioDevicePropertyChannelCategoryNameCFString selector. However, this fails with the error kAudioHardwareUnknownPropertyError.
Is there any trick to using this property, have I misunderstood how it works, or is it simply not implemented by the driver I'm using (built-in audio on a G5)?



My code:

::CFStringRef string = NULL;
::UInt32 size = sizeof(string);
::OSStatus status = ::AudioDeviceGetProperty(deviceID, channelNo, false, ::kAudioDevicePropertyChannelNameCFString, &size, &string);
// status is kAudioHardwareUnknownPropertyError here



TIA

/Jesper Papmehl

_______________________________________________
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: How to use kAudioDevicePropertyChannelCategoryName?
      • From: Jeff Moore <email@hidden>
  • Prev by Date: RE: lightweight traces in kernelmode?
  • Next by Date: SampleAccurate Tempo
  • Previous by thread: RE: lightweight traces in kernelmode?
  • Next by thread: Re: How to use kAudioDevicePropertyChannelCategoryName?
  • Index(es):
    • Date
    • Thread