IT++ Logo
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
itpp::Audio_Sample< enc_float > Class Template Reference

Audio samples encoded as floats. More...

#include <itpp/srccode/audiosample.h>

Public Types

typedef float enc_sample_type
 

Static Public Member Functions

static enc_sample_type encode (const double &s)
 
static double decode (const enc_sample_type &s)
 

Static Public Attributes

static const std::size_t enc_sample_size = sizeof(enc_sample_type)
 

Detailed Description

template<>
class itpp::Audio_Sample< enc_float >

Audio samples encoded as floats.

Samples are NOT saturated to +/- 1.0 during conversion to this format. Encoded values are limited to [INT_MIN,INT_MAX] to avoid overflow on conversion.

Definition at line 254 of file audiosample.h.


The documentation for this class was generated from the following file:
SourceForge Logo

Generated on Sat Jul 6 2013 10:54:35 for IT++ by Doxygen 1.8.2