Setting AudioQueue input device and format?
Setting AudioQueue input device and format?
- Subject: Setting AudioQueue input device and format?
- From: Rick Mann <email@hidden>
- Date: Thu, 10 Mar 2011 14:25:21 -0800
Input Device: I want to use an Audio Queue to get the samples from an audio device I have connected. But looking at the Programming Guide, I don't see how to choose which device is used for input.
A related question: I've already got a HIDManager handle on the device (it's a composite device that uses HID for controlling it). I'd like to select it directly, rather than forcing my user through a separate UI to choose the audio input device. Is there any way to programmatically get from having an IOHIDDeviceRef to whatever I need for Core Audio?
Format: I want the data in the exact same format that it comes out of the device. The Programming Guide first has me set a recording audio format, and then create the audio queue and ask it for the input format. What's the right way to ensure that the data in the buffers I get is the exact data output by the device?
Thanks,
Rick
_______________________________________________
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