Photon Voice  v2.8
English | 日本語 | 한국
Public Member Functions | Properties | List of all members
WebRTCAudioProcessor Class Reference

Inherits WebRTCAudioLib, and IProcessor< short >.

Public Member Functions

 WebRTCAudioProcessor (ILogger logger, int frameSize, int samplingRate, int channels, int reverseSamplingRate, int reverseChannels)
 
short[] Process (short[] buf)
 
void OnAudioOutFrameFloat (float[] data)
 
void Dispose ()
 
- Public Member Functions inherited from WebRTCAudioLib
static IntPtr webrtc_audio_processor_create (int samplingRate, int channels, int frameSize, int revSamplingRate, int revChannels)
 
static int webrtc_audio_processor_set_config_param (IntPtr proc, int param, int v)
 
static int webrtc_audio_processor_init (IntPtr proc)
 
static int webrtc_audio_processor_set_param (IntPtr proc, int param, int v)
 
static int webrtc_audio_processor_process (IntPtr proc, short[] buffer, int offset, out bool voiceDetected)
 
static int webrtc_audio_processor_process_reverse (IntPtr proc, short[] buffer, int bufferSize)
 
static void webrtc_audio_processor_destroy (IntPtr proc)
 
- Public Member Functions inherited from IProcessor< short >
T[] Process (T[] buf)
 Process a frame of audio data. More...
 

Properties

int AECStreamDelayMs [set]
 
bool AEC [set]
 
bool AECMobile [set]
 
int AECMRoutingMode [set]
 
bool AECMComfortNoise [set]
 
bool HighPass [set]
 
bool NoiseSuppression [set]
 
bool AGC [set]
 
bool VAD [set]
 
bool Bypass [set]