Photon C++ Client API  5.0.7.3
Classes | Namespaces | Functions
AudioUtil.h File Reference

Classes

class  Resampler< T >
 
class  ILevelMeter
 Audio Level Metering interface. More...
 
class  LevelMeterDummy
 Dummy Audio Level Meter that doesn't actually do anything. More...
 
class  LevelMeter< T >
 Audio Level Meter. More...
 
class  IVoiceDetector
 Voice Activity Detector interface. More...
 
class  VoiceDetectorDummy
 Dummy VoiceDetector that doesn't actually do anything. More...
 
class  VoiceDetectorCalibration< T >
 Calibration Utility for Voice Detector More...
 
class  VoiceDetector< T >
 Simple voice activity detector triggered by signal level. More...
 
class  VoiceLevelDetectCalibrate< T >
 Utility Audio Processor Voice Detection Calibration. More...
 
class  TempoUp< T >
 
class  IAudioOut< T >
 

Namespaces

 ExitGames
 
 ExitGames::Voice
 
 ExitGames::Voice::AudioUtil
 Collection of Audio Utility functions and classes.
 

Functions

template<typename T >
void resample (const Buffer< T > &srcBuf, Buffer< T > &dstBuf, int dstSamples, int channels)
 Resample audio data so that the complete src buffer fits into dstSamples in the dst buffer. The buffers contain audio with the same number of channels. More...
 
template<typename T >
void resample (const Buffer< T > &srcBuf, int srcOffsetSamples, int srcSamples, Buffer< T > &dstBuf, int dstOffsetSamples, int dstSamples, int channels)
 Resample audio data with offsets and sizes specified for both src and dst buffers. The buffers contain audio with the same number of channels. More...
 
template<typename T >
void resample (const Buffer< T > &srcBuf, int srcOffsetSamples, int srcSamples, int srcChannels, Buffer< T > &dstBuf, int dstOffsetSamples, int dstSamples, int dstChannels)
 Resample audio data with offsets and sizes specified for both src and dst buffers. More...
 
void resampleAndConvert (const Buffer< short > &srcBuf, Buffer< float > &dstBuf, int dstCount, int channels)
 Resample audio data so that the complete src buffer fits into dstCount samples in the dst buffer, and convert short to float samples along the way. More...
 
void resampleAndConvert (const Buffer< float > &srcBuf, Buffer< short > &dstBuf, int dstCount, int channels)
 Resample audio data so that the complete src buffer fits into dstCount samples in the dst buffer, and convert float to short samples along the way. More...
 
void convert (const Buffer< float > &srcBuf, Buffer< short > &dstBuf, int dstCount)
 Convert audio buffer from float to short samples. More...
 
void convert (const Buffer< short > &srcBuf, Buffer< float > &dstBuf, int dstCount)
 Convert audio buffer from short to float samples. More...
 
template<typename T >
void forceToStereo (const Buffer< T > &srcBuf, Buffer< T > &dstBuf, int srcChannels)
 Convert audio buffer with arbitrary number of channels to stereo. More...