Class AudioSampleData
Data class for passing audio sample data to an audio sample source
Inherited Members
Namespace: SipLib.Media
Assembly: SipLib.dll
Syntax
public class AudioSampleData
Constructors
| Edit this page View SourceAudioSampleData(short[], int)
Constructor
Declaration
public AudioSampleData(short[] sampleData, int sampleRate)
Parameters
| Type | Name | Description |
|---|---|---|
| short[] | sampleData | Audio samples. Each sample is a 16-bit linear PCM sample. |
| int | sampleRate | Sample rate in samples/second of the data in the SampleData array. |
Properties
| Edit this page View SourceSampleData
Audio samples. Each element is a 16-bit linear PCM sample.
Declaration
public short[] SampleData { get; }
Property Value
| Type | Description |
|---|---|
| short[] |
SampleRate
Sample rate in samples/second of the data in the SampleData array.
Declaration
public int SampleRate { get; }
Property Value
| Type | Description |
|---|---|
| int |