• 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: Doug Wyatt <email@hidden>
  • Date: Thu, 9 Oct 2008 23:16:11 -0700

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


  • Follow-Ups:
    • Re: AudioQueue Device Problems
      • From: Klaus Kobald <email@hidden>
References: 
 >AudioQueue Device Problems (From: email@hidden)

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