Re: kAudioDevicePropertyStreamFormatMatch rate is zero in Panther
Re: kAudioDevicePropertyStreamFormatMatch rate is zero in Panther
- Subject: Re: kAudioDevicePropertyStreamFormatMatch rate is zero in Panther
- From: Michael Thornburgh <email@hidden>
- Date: Wed, 19 Nov 2003 15:54:37 -0800
phil: later that day, Jeff Moore mentioned on-list that it was a bug
and had been fixed. the particular defect i reported
(kAudioDevicePropertyStreamFormatMatch changing a non-zero sample rate
to zero) appears to, in fact, be fixed on my panther system (10.3.1).
the program i included in that message gives the expected output for a
match not zeroing out the sample rate.
is the sample rate for the ASBD you're passing in zero to start with?
if so, i don't know if that would count as a bug or a feature. :)
-mike
On Nov 19, 2003, at 2:39 PM, Phil Burk wrote:
Does anyone know the status of the bug demonstrated in this letter
from July
18?
http://lists.apple.com/archives/coreaudio-api/2003/Jul/18/
halpatherformatmatchingb.001.txt
I cannot find any further discussion of it.
It appears that Panther returns a ZERO sample rate for
AudioDeviceGetProperty ( ...,
kAudioDevicePropertyStreamFormatMatch, ...)
while earlier versions returned a reasonable match.
This may only affect USB devices such as the iMic.
I believe that this new bug is the cause of some failures of PortAudio
code
under Panther. Several applications are using PortAudio, including
Audacity,
JSyn, PD, etc. so I would like to know how to fix this.
Thanks,
Phil Burk
_______________________________________________
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.
_______________________________________________
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.