USB Audio issue
USB Audio issue
- Subject: USB Audio issue
- From: Martin Hairer <email@hidden>
- Date: Wed, 4 Jun 2003 10:03:25 +0200
Hi,
I ran into a very strange problem with the USB Audio driver (using an
iMic). I use
AudioStreamSetProperty() with the kAudioStreamPropertyPhysicalFormat
selector
to change the format into one of the supported formats previously
retrieved with
kAudioStreamPropertyPhysicalFormats. It returns an error code of 0, but
a subsequent
call to AudioStreamGetProperty() with the
kAudioStreamPropertyPhysicalFormat selector
gives me a kAudioHardwareBadStreamError. Also, when I then use the
kAudioDevicePropertyStreams
selector on the device it tells me that there is no stream!! Anyone has
an idea of what's going
on? This is on MacOS 10.2.6. On 10.1.5, it also happens sometimes, but
much less regularly.
Another funny thing is that if I do something else and then go back, to
the iMic, it works
and the stream format is equal to the one that was set previously! I
just don't understand...
Is this a known bug? Is there a workaround? The same code works as
expected with
the internal mic. Regards,
Martin
HairerSoft
http://www.hairersoft.com/
_______________________________________________
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.