• 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
Re: mFormatID != kAudioFormatLinearPCM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: mFormatID != kAudioFormatLinearPCM
      • From: Jeff Moore <email@hidden>
References: 
 >mFormatID != kAudioFormatLinearPCM (From: Jon Lech Johansen <email@hidden>)
 >Re: mFormatID != kAudioFormatLinearPCM (From: Jeff Moore <email@hidden>)

  • Prev by Date: [OT] Re: Mixer units
  • Next by Date: Re: mFormatID != kAudioFormatLinearPCM
  • Previous by thread: Re: mFormatID != kAudioFormatLinearPCM
  • Next by thread: Re: mFormatID != kAudioFormatLinearPCM
  • Index(es):
    • Date
    • Thread