Photon Voice v2.53

Public Member Functions | List of all members
IProcessor< T > Interface Template Reference

Processor interface. More...

Inherits IDisposable.

Inherited by AudioUtil.LevelMeter< T >, AudioUtil.Resampler< T >, AudioUtil.VoiceDetector< T >, AudioUtil.VoiceDetectorCalibration< T >, and AudioUtil.VoiceLevelDetectCalibrate< T >.

Public Member Functions

T[] Process (T[] buf)
 Process a frame of data. More...
 

Detailed Description

Processor interface.

Member Function Documentation

◆ Process()

T [] Process ( T[]  buf)

Process a frame of data.

Parameters
bufBuffer containing input data
Returns
Buffer containing output data or null if frame has been discarded (VAD)

Implemented in AudioUtil.VoiceLevelDetectCalibrate< T >, AudioUtil.VoiceDetector< T >, AudioUtil.VoiceDetectorCalibration< T >, AudioUtil.LevelMeter< T >, and AudioUtil.Resampler< T >.