• 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
AudioDeviceID properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AudioDeviceID properties


  • Subject: AudioDeviceID properties
  • From: Alexander Voloshyn <email@hidden>
  • Date: Tue, 11 Apr 2006 18:53:07 +0300

Hi,
I use AudioHardwareGetPropertyInfo to get the input devices, but with kAudioHardwarePropertyDevices property I get all available audio devices (input and output).
Is there a way to get only input devices?
UInt32 size = 0;
err = AudioHardwareGetPropertyInfo(kAudioHardwarePropertyDevices,
  &size,
  NULL);
if (size==0)
{
printf("Audio device can not be found!\n");
return false;
}


AudioDeviceID *ids = (AudioDeviceID*)malloc(size);
err = AudioHardwareGetProperty(kAudioHardwarePropertyDevices,
  &size, ids);

Thanks in advance!
_____
Alexander Voloshyn
 _______________________________________________
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: AudioDeviceID properties
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: midi note on for beginner
  • Next by Date: Re: AudioDeviceID properties
  • Previous by thread: digital silence transitions with AUTimePitch format converter
  • Next by thread: Re: AudioDeviceID properties
  • Index(es):
    • Date
    • Thread