Contains buffer with several audio samples.
More...
|
| AudioFrames (short[] samples, int sample_rate, int number_of_channels, int number_of_frames) |
| Creates a new AudioFrames with the given buffer and configuration.
|
|
void | Dispose () |
| Disposes any native buffers (if added in the future)
|
|
|
virtual void | Dispose (bool disposing) |
| Disposes any native buffers (if added in the future)
|
|
|
int | SampleRate [get] |
| Sample rate (usually 48000 or 16000)
|
|
int | NumberOfChannels [get] |
| Number of channels stored in this buffer. (usually 2)
|
|
int | NumberOfFrames [get] |
| Number of samples.
|
|
short[] | Samples [get] |
| Buffer containing the 16bit samples.
|
|
Contains buffer with several audio samples.
◆ AudioFrames()
Byn.Awrtc.AudioFrames.AudioFrames |
( |
short[] | samples, |
|
|
int | sample_rate, |
|
|
int | number_of_channels, |
|
|
int | number_of_frames ) |
Creates a new AudioFrames with the given buffer and configuration.
- Parameters
-
samples | |
sample_rate | |
number_of_channels | |
number_of_frames | |
◆ Dispose()
virtual void Byn.Awrtc.AudioFrames.Dispose |
( |
bool | disposing | ) |
|
|
protectedvirtual |
Disposes any native buffers (if added in the future)
- Parameters
-
The documentation for this class was generated from the following file:
- /Users/christoph/dev/wrtc/main/awrtc/awrtc_cs_common/Byn.Awrtc/AudioFrames.cs