Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members  

Output Type Constants

Output Type Constants that are used to specify how audio samples are represented. More...

Defines

#define DECMPA_OUTPUT_INT16   0
 Indicates that the audio samples are signed 16 bit integers (one per channel).

#define DECMPA_OUTPUT_FLOAT   1
 Indicates that the audio samples are floats (one per channel).


Detailed Description

Output Type Constants that are used to specify how audio samples are represented.


Define Documentation

#define DECMPA_OUTPUT_INT16   0
 

Indicates that the audio samples are signed 16 bit integers (one per channel).

-32768 is the minimum and 32767 is the maximum value.

Note:
As of version 0.3.0 DecMPA uses integers internally. That means that DECMPA_OUTPUT_INT16 is a little faster than DECMPA_OUTPUT_FLOAT because the latter requires an additional conversion.

#define DECMPA_OUTPUT_FLOAT   1
 

Indicates that the audio samples are floats (one per channel).

-1.0 is the minimum and 1.0 is the maximum value.

Note:
As of version 0.3.0 DecMPA uses integers internally. That means that DECMPA_OUTPUT_INT16 is a little faster than DECMPA_OUTPUT_FLOAT because the latter requires an additional conversion.


Generated on Sun Aug 25 12:59:56 2002 for DecMPA by doxygen1.2.17