• 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: Jeff Moore <email@hidden>
  • Date: Fri, 14 Mar 2003 17:45:40 -0800

Yes. I would consider that statement false.

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. Note that I say "stream" here because format management is a function of the AudioStream objects. The format of an AudioDevice is acutally an array of AudioStreamBasicDescriptions. One for each stream the device has. You have to query each stream on the device to find out it's format.

On Friday, March 14, 2003, at 03:54 PM, Jon Lech Johansen wrote:

Does *Apple* consider the following statement to be false:

If AudioDeviceGetProperty(kAudioDevicePropertyStreamFormat).mFormatID !=
kAudioFormatLinearPCM, the caller can safely assume that the device does
not support kAudioFormatLinearPCM.

For the VideoLAN team,

--
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.



--

Jeff Moore
Core Audio
Apple
_______________________________________________
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: Jon Lech Johansen <email@hidden>
References: 
 >mFormatID != kAudioFormatLinearPCM (From: Jon Lech Johansen <email@hidden>)

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