audioconvert.h File Reference

#include "openalpp/export.h"
#include <AL/al.h>
#include <stdlib.h>
#include <string.h>
#include "openalpp/error.h"

Go to the source code of this file.

Namespaces

namespace  openalpp

Classes

class  openalpp::AudioConvert
struct  openalpp::_acAudioCVT
struct  openalpp::Chunk
struct  openalpp::MS_ADPCM_decodestate_FULL
struct  openalpp::WaveFMT
struct  openalpp::IMA_ADPCM_decodestate_s
struct  openalpp::IMA_ADPCM_decoder

Defines

#define AUDIO_U8   0x0008
#define AUDIO_S8   0x8008
#define AUDIO_U16LSB   0x0010
#define AUDIO_S16LSB   0x8010
#define AUDIO_U16MSB   0x1010
#define AUDIO_S16MSB   0x9010
#define AUDIO_U16   AUDIO_U16LSB
#define AUDIO_S16   AUDIO_S16LSB
#define swap16le(x)   (x)
#define swap32le(x)   (x)
#define swap16be(x)   swap16(x)
#define swap32be(x)   swap32(x)
#define _al_ALCHANNELS(fmt)   ((fmt==AL_FORMAT_MONO16||fmt==AL_FORMAT_MONO8)?1:2)
#define DATA   0x61746164
#define FACT   0x74636166
#define LIST   0x5453494c
#define RIFF   0x46464952
#define WAVE   0x45564157
#define FMT   0x20746D66
#define AL_FORMAT_IMA_ADPCM_MONO16_EXT   0x10000
#define AL_FORMAT_IMA_ADPCM_STEREO16_EXT   0x10001
#define AL_FORMAT_WAVE_EXT   0x10002
#define NELEMS(x)   ((sizeof x) / (sizeof *x))
#define PCM_CODE   0x0001
#define MS_ADPCM_CODE   0x0002
#define IMA_ADPCM_CODE   0x0011
#define MS_ADPCM_max   ((1<<(16-1))-1)
#define MS_ADPCM_min   -(1<<(16-1))

Typedefs

typedef openalpp::_acAudioCVT openalpp::acAudioCVT
typedef openalpp::Chunk openalpp::Chunk
typedef openalpp::WaveFMT openalpp::alWaveFMT_LOKI
typedef openalpp::IMA_ADPCM_decodestate_s openalpp::alIMAADPCM_decodestate_LOKI
typedef openalpp::IMA_ADPCM_decoder openalpp::alIMAADPCM_state_LOKI


Define Documentation

#define _al_ALCHANNELS fmt   )     ((fmt==AL_FORMAT_MONO16||fmt==AL_FORMAT_MONO8)?1:2)
 

#define AL_FORMAT_IMA_ADPCM_MONO16_EXT   0x10000
 

#define AL_FORMAT_IMA_ADPCM_STEREO16_EXT   0x10001
 

#define AL_FORMAT_WAVE_EXT   0x10002
 

#define AUDIO_S16   AUDIO_S16LSB
 

#define AUDIO_S16LSB   0x8010
 

#define AUDIO_S16MSB   0x9010
 

#define AUDIO_S8   0x8008
 

#define AUDIO_U16   AUDIO_U16LSB
 

#define AUDIO_U16LSB   0x0010
 

#define AUDIO_U16MSB   0x1010
 

#define AUDIO_U8   0x0008
 

#define DATA   0x61746164
 

#define FACT   0x74636166
 

#define FMT   0x20746D66
 

#define IMA_ADPCM_CODE   0x0011
 

#define LIST   0x5453494c
 

#define MS_ADPCM_CODE   0x0002
 

#define MS_ADPCM_max   ((1<<(16-1))-1)
 

#define MS_ADPCM_min   -(1<<(16-1))
 

#define NELEMS  )     ((sizeof x) / (sizeof *x))
 

#define PCM_CODE   0x0001
 

#define RIFF   0x46464952
 

#define swap16be  )     swap16(x)
 

#define swap16le  )     (x)
 

#define swap32be  )     swap32(x)
 

#define swap32le  )     (x)
 

#define WAVE   0x45564157
 


Generated on Thu May 18 00:49:37 2006 for openalpp by  doxygen 1.4.6