AudioStreamBasicDescription.CreateLinearPCM Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convenience function to create an AudioStreamBasicDescription for LinearPCM data..
public static AudioToolbox.AudioStreamBasicDescription CreateLinearPCM (double sampleRate = 44100, uint channelsPerFrame = 2, uint bitsPerChannel = 16, bool bigEndian = false);
static member CreateLinearPCM : double * uint32 * uint32 * bool -> AudioToolbox.AudioStreamBasicDescription
Parameters
- sampleRate
- Double
Sample rate.
- channelsPerFrame
- UInt32
Channels per frame.
- bitsPerChannel
- UInt32
Bits per channel.
- bigEndian
- Boolean
Format data..