• 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
kAudioDevicePropertyStreamFormat unsupported?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kAudioDevicePropertyStreamFormat unsupported?


  • Subject: kAudioDevicePropertyStreamFormat unsupported?
  • From: "Tim Dorcey" <email@hidden>
  • Date: Sun, 9 Nov 2003 23:21:50 -0800

Trying to capture audio from a USB camera, and getting back 'who?' error
from

AudioDeviceGetProperty(device,0,false,kAudioDevicePropertyStreamFormat,..)

This looks to be kAudioHardwareUnknownPropertyError. Is this just a buggy
driver? Same code works fine with Apple internal mic. Work-around right
now is to query the nominal sampling rate and guess the other parameter:
lpcm, float32, mono, which works for this device. Any way to get this
information more definitively?

Also, I use an AudioConverter within the ioProc to convert to 8khz, 16 bit,
mono. I know recommendation is to do as little processing in the ioProc as
possible, but can this sort of conversion really add up to much more than
simple copy?

Tim
_______________________________________________
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.

  • Follow-Ups:
    • Re: kAudioDevicePropertyStreamFormat unsupported?
      • From: kelly jacklin <email@hidden>
  • Prev by Date: Re: Should I Use Audio Units
  • Next by Date: Re: MusicDevice implementation [Update]
  • Previous by thread: Re: AUGraphs and Logic
  • Next by thread: Re: kAudioDevicePropertyStreamFormat unsupported?
  • Index(es):
    • Date
    • Thread