• 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: QT 6.4, CoreAudio and USB devices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QT 6.4, CoreAudio and USB devices


  • Subject: Re: QT 6.4, CoreAudio and USB devices
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 17 Dec 2003 12:02:47 -0800

I already pointed out where our sample code lives. There are several different examples of how to acquire audio in there.

Perhaps if you shared some of the details about how things are failing, we might be able to offer some better guidance about what might be going wrong.

On Dec 17, 2003, at 1:36 AM, Amon Tavor wrote:

I'm using CoreAudio for capturing audio from USB devices. Since QT 6.4
it stopped working - my IOProc is never called! The same code works on
QT 6.3. It also works with other devices on QT 6.4, such as internal
mic or iSight, but not with USB devices, such as iMic or Telex. These
devices work on QT 6.4 using the Sequence Grabber (QuickTime) API, but
not through the CoreAudio API.
Has anyone encountered this?
If I had to guess, I'd say that you probably have code that isn't being
careful about what it passes to the "isInput" arguments to the various
AudioDevice routines. From the sound of things, you are doing input, so
you might want to check to see if you are passing false when you should
be passing true.
Thanks for the suggestion, Jeff, but I am passing true.
None of the routines return any errors, and the same code works on QT 6.3.
It is a reasonable assumption that I have code that isn't being careful about something. But I don't know the basic steps, so I can't tell what my code is missing or not being careful about.
I found absolutely no documentation about this. All I need to know is what are the essential calls for opening a device and starting capture. It's probably just a few lines of code.

Please help. Thanks.

--

Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: QT 6.4, CoreAudio and USB devices (From: Amon Tavor <email@hidden>)

  • Prev by Date: Another Threading Issue
  • Next by Date: Re: Another Threading Issue
  • Previous by thread: Re: QT 6.4, CoreAudio and USB devices
  • Next by thread: Cocoa and Audiounits
  • Index(es):
    • Date
    • Thread