• 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
Re: AudioQueue Device Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >AudioQueue Device Problems (From: email@hidden)
 >Re: AudioQueue Device Problems (From: Doug Wyatt <email@hidden>)

  • Prev by Date: iPhone audio decompression
  • Next by Date: Re: iPhone audio decompression
  • Previous by thread: Re: AudioQueue Device Problems
  • Next by thread: Can AU plug-ins ask the host to change the transport?
  • Index(es):
    • Date
    • Thread