kAudioDevicePropertyStreamFormat unsupported?
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.