• 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
Setting AudioQueue input device and format?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting AudioQueue input device and format?


  • Subject: Setting AudioQueue input device and format?
  • From: Rick Mann <email@hidden>
  • Date: Thu, 10 Mar 2011 14:25:21 -0800

Input Device: I want to use an Audio Queue to get the samples from an audio device I have connected. But looking at the Programming Guide, I don't see how to choose which device is used for input.

A related question: I've already got a HIDManager handle on the device (it's a composite device that uses HID for controlling it). I'd like to select it directly, rather than forcing my user through a separate UI to choose the audio input device. Is there any way to programmatically get from having an IOHIDDeviceRef to whatever I need for Core Audio?

Format: I want the data in the exact same format that it comes out of the device. The Programming Guide first has me set a recording audio format, and then create the audio queue and ask it for the input format. What's the right way to ensure that the data in the buffers I get is the exact data output by the device?

Thanks,
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

  • Follow-Ups:
    • Re: Setting AudioQueue input device and format?
      • From: Brian Willoughby <email@hidden>
    • Re: Setting AudioQueue input device and format?
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: Auval error Class Info
  • Next by Date: Re: Setting AudioQueue input device and format?
  • Previous by thread: Re: Reading and writing from/to sound devices without AU
  • Next by thread: Re: Setting AudioQueue input device and format?
  • Index(es):
    • Date
    • Thread