Re: mFormatID != kAudioFormatLinearPCM
Re: mFormatID != kAudioFormatLinearPCM
- Subject: Re: mFormatID != kAudioFormatLinearPCM
- From: Jon Lech Johansen <email@hidden>
- Date: Sat, 15 Mar 2003 03:49:40 +0100
- Mail-followup-to: email@hidden
On Fri, Mar 14, 2003 at 05:45:40PM -0800, Jeff Moore (email@hidden) wrote:
>
I would consider the following statement true:
>
"If AudioDeviceGetProperty(kAudioDevicePropertyStreamFormat).mFormatID
>
!= kAudioFormatLinearPCM, the caller can safely assume that the device
>
does not support kAudioFormatLinearPCM currently."
>
>
You need to use kAudioDevicePropertyStreamFormats to get the list of
>
all the formats the stream supports.
Is not doing so considered a bug by Apple?
If the device supports kAudioFormatLinearPCM, but
AudioDeviceGetProperty(kAudioDevicePropertyStreamFormat).mFormatID !=
kAudioFormatLinearPCM, iTunes doesn't seem to check
kAudioDevicePropertyStreamFormats or use
kAudioStreamPropertyPhysicalFormatMatch, and the audio is instead sent
to the built-in audio device.
--
Jon Lech Johansen
email@hidden
nanocrew.net/blog/
Stat sua cuique dies, breve et inreparabile tempus
omnibus est vitae; sed famam extendere factis,
hoc virtutis opus.
_______________________________________________
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.