BufferFormat
Buffer format settings for input and output streams.
Public Fields
BitsPerSample
Number of bits per sample.
public uint BitsPerSample { get; set; }
ChannelCount
Number of channels.
public uint ChannelCount { get; set; }
ChannelFormat
Channel format.
public ChannelFormatType ChannelFormat { get; set; }
Type | Description |
---|---|
ChannelFormatType | Possible channel formats for input and output streams. |
SampleFormat
Integer or float.
public SampleFormatType SampleFormat { get; set; }
Type | Description |
---|---|
SampleFormatType | Possible sample formats for input and output streams. |
SamplesPerSecond
Sample rate.
public uint SamplesPerSecond { get; set; }
ValidBitsPerSample
Number of bits used per sample.
public uint ValidBitsPerSample { get; set; }
Public Methods
BufferFormat
public BufferFormat(
uint channelCount,
uint samplesPerSecond,
uint bitsPerSample,
SampleFormatType sampleFormat =SampleFormatType.Float,
ChannelFormatType channelFormat =ChannelFormatType.Default
)
Parameters
Type | Name | Description |
---|---|---|
uint | channelCount | |
uint | samplesPerSecond | |
uint | bitsPerSample | |
SampleFormatType | sampleFormat | Possible sample formats for input and output streams. |
ChannelFormatType | channelFormat | Possible channel formats for input and output streams. |
override string ToString
public override string ToString()