Edit

Share via


AudioStreamBasicDescription.CreateLinearPCM Method

Definition

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

Returns

Applies to