Re: Setting AudioQueue input device and format?
Re: Setting AudioQueue input device and format?
- Subject: Re: Setting AudioQueue input device and format?
- From: Rick Mann <email@hidden>
- Date: Thu, 10 Mar 2011 17:42:39 -0800
On Mar 10, 2011, at 17:41:00, Brian Willoughby wrote:
> I believe that you'll need to call the CoreAudio API directly to query the hardware sample rate, and I assume you have the right AudioObject for this. You can confirm that your code is working by comparing against the values shown in Audio MIDI Setup. There might be a pass-through available via AudioQueue through some indirect means but I would not necessarily trust it as easily as the direct API.
That's fine.
My biggest problem, at this point, is getting the Audio Device UID from the IOHIDDevice I already have. I'm not sure there's any way to associate the two. I can enumerate the attached audio devices, but I have no way of identifying them as belonging to the same device that the IOHIDDeviceRef I have belongs to.
--
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