Re: Setting AudioQueue input device and format?
Re: Setting AudioQueue input device and format?
- Subject: Re: Setting AudioQueue input device and format?
- From: Brian Willoughby <email@hidden>
- Date: Thu, 10 Mar 2011 18:48:58 -0800
On Mar 10, 2011, at 17:42, Rick Mann wrote:
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.
Look through the mailing list archives, because this has been asked
before. I don't happen to recall the answer, though.
I agree that it would be ideal to associate the two, but I also
assume that your SDR hardware has a fairly obvious name. You might
find it easier to independently search for this device by name in the
CoreAudio API, and just assume that you'll always end up with the
same device that IOHIDDevice has found. It certainly would not be
this easy if you wanted to work with any standard audio input device,
but since you specifically want the IF device then I think it will
work just fine.
Brian Willoughby
Sound Consulting
_______________________________________________
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