Photon C++ Client API  5.0.7.3
Public Member Functions | List of all members
IProcessor< T > Class Template Referenceabstract

Audio Processor interface. More...

Inheritance diagram for IProcessor< T >:
Inheritance graph
[legend]
Collaboration diagram for IProcessor< T >:
Collaboration graph
[legend]

Public Member Functions

virtual Buffer< T > process (Buffer< T > buf)=0
 Process a frame of audio data. More...
 
- Public Member Functions inherited from ToStringDefaultImplementation
virtual JStringtoString (JString &retStr, bool withTypes=false) const
 
virtual JStringtoString (JString &retStr, bool withTypes=false) const=0
 
JString toString (bool withTypes=false) const
 
- Public Member Functions inherited from ToString
virtual ~ToString (void)
 
virtual JString typeToString (void) const
 
JString toString (bool withTypes=false) const
 

Detailed Description

template<typename T>
class ExitGames::Voice::IProcessor< T >

Audio Processor interface.

Member Function Documentation

◆ process()

virtual Buffer<T> process ( Buffer< T >  buf)
pure virtual

Process a frame of audio data.

Parameters
bufBuffer containing input audio data
Returns
Buffer containing output audio data

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