WebRTC Video Chat 1.0.6
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Properties | List of all members
Byn.Awrtc.AudioFrames Class Reference

Contains buffer with several audio samples. More...

Public Member Functions

 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)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 Disposes any native buffers (if added in the future)
 

Properties

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.
 

Detailed Description

Contains buffer with several audio samples.

Constructor & Destructor Documentation

◆ 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

Member Function Documentation

◆ Dispose()

virtual void Byn.Awrtc.AudioFrames.Dispose ( bool disposing)
protectedvirtual

Disposes any native buffers (if added in the future)

Parameters
disposing

The documentation for this class was generated from the following file: