Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Typedefs | Functions
omSoundSample.h File Reference
#include "omSoundBaseConfig.h"
#include "omSoundInt24.h"

Classes

class  om::sound::base::Sample< T >
 A class that represents a template primitive-typed sound sample. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::sound
 A namespace that handles sound input, output, and processing.
 
 om::sound::base
 A namespace containing basic sound classes for samples, buffers, and others types.
 

Typedefs

typedef Sample< Int8 > om::sound::base::Sample8
 Define the type of a integral sample which uses a signed 8-bit representation. More...
 
typedef Sample< Int16 > om::sound::base::Sample16
 Define the type of a integral sample which uses a signed 16-bit representation. More...
 
typedef Sample< Int24 > om::sound::base::Sample24
 Define the type of a integral sample which uses a signed 24-bit representation. More...
 
typedef Sample< Int32 > om::sound::base::Sample32
 Define the type of a integral sample which uses a signed 32-bit representation. More...
 
typedef Sample< Int64 > om::sound::base::Sample64
 Define the type of a integral sample which uses a signed 64-bit representation. More...
 
typedef Float32 om::sound::base::Sample32f
 Define the type of a floating-point sample which uses a 32-bit representation. More...
 
typedef Float64 om::sound::base::Sample64f
 Define the type of a floating-point sample which uses a 64-bit representation. More...
 

Functions

template<typename T >
Sample< T > om::sound::base::operator* (const Float &gain, const Sample< T > &sample)
 Multiply a sample by a linear gain factor and return the resulting sample. More...
 
template<typename T >
Sample< T > om::sound::base::operator* (const Double &gain, const Sample< T > &sample)
 Multiply a sample by a linear gain factor and return the resulting sample. More...