Photon C++ Client API  5.0.7.3
Public Member Functions | List of all members
Resampler< T > Class Template Reference
Inheritance diagram for Resampler< T >:
Inheritance graph
[legend]
Collaboration diagram for Resampler< T >:
Collaboration graph
[legend]

Public Member Functions

 Resampler (int dstSamples, int channels)
 
virtual Buffer< T > process (Buffer< T > buf)
 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
 

Member Function Documentation

◆ process()

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

Process a frame of audio data.

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

Implements IProcessor< T >.