Re: AudioQueue Device Problems
Re: AudioQueue Device Problems
- Subject: Re: AudioQueue Device Problems
- From: Klaus Kobald <email@hidden>
- Date: Fri, 10 Oct 2008 11:27:59 +0200
Hello,
I´m a real dummy!
Every device has of course input and ouput. I was trying to output on
the input channel!
Sorry & Thanks!
Am 10.10.2008 um 08:16 schrieb Doug Wyatt:
On Oct 9, 2008, at 13:06 , email@hidden wrote:
I have 4 USB AudioDevices from the same manufacturer (unknown) -
see the
end of the list:
Device: Built-in Line Input
UID: AppleHDAEngineInput:3
Device: Built-in Digital Input
UID: AppleHDAEngineInput:4
Device: Built-in Output
UID: AppleHDAEngineOutput:0
Device: Built-in Line Output
UID: AppleHDAEngineOutput:1
Device: Built-in Digital Output
UID: AppleHDAEngineOutput:2
Device: Unknown USB Audio Device
UID: AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio
Device:1d200000:1
Device: Unknown USB Audio Device
UID: AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio
Device:1d200000:2
Device: Unknown USB Audio Device
UID: AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio
Device:fd510000:1
Device: Unknown USB Audio Device
UID: AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio
Device:fd510000:2
Each gets a unique ID, but I can only use the devices that end
with :1
If I try to select a device ending on :2 AudioQueueSetProperty fails:
AudioQueueSetProperty(myInfo.mQueue,
kAudioQueueProperty_CurrentDevice,
&uid, sizeof(CFStringRef));
OSStatus: -66680 (invalid Device)
That error is returned from SetProperty when the device has no
streams "in the same direction" as the queue (i.e. no output
streams on a device being assigned to an output queue).
_______________________________________________
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