zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
audiodefs.h File Reference
#include <windef.h>

Go to the source code of this file.

Classes

struct  adpcmcoef_tag
 
struct  adpcmwaveformat_tag
 
struct  pcmwaveformat_tag
 
struct  tWAVEFORMATEX
 
struct  waveformat_tag
 
struct  WAVEFORMATEXTENSIBLE
 

Macros

#define _SPEAKER_POSITIONS_
 
#define _WAVEFORMATEX_
 
#define _WAVEFORMATEXTENSIBLE_
 
#define SPEAKER_2POINT1   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_LOW_FREQUENCY)
 
#define SPEAKER_4POINT1   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_LOW_FREQUENCY | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT)
 
#define SPEAKER_5POINT1   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_LOW_FREQUENCY | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT)
 
#define SPEAKER_5POINT1_SURROUND   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_LOW_FREQUENCY | SPEAKER_SIDE_LEFT | SPEAKER_SIDE_RIGHT)
 
#define SPEAKER_7POINT1   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_LOW_FREQUENCY | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT | SPEAKER_FRONT_LEFT_OF_CENTER | SPEAKER_FRONT_RIGHT_OF_CENTER)
 
#define SPEAKER_7POINT1_SURROUND   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_LOW_FREQUENCY | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT | SPEAKER_SIDE_LEFT | SPEAKER_SIDE_RIGHT)
 
#define SPEAKER_ALL   0x80000000
 
#define SPEAKER_BACK_CENTER   0x00000100
 
#define SPEAKER_BACK_LEFT   0x00000010
 
#define SPEAKER_BACK_RIGHT   0x00000020
 
#define SPEAKER_FRONT_CENTER   0x00000004
 
#define SPEAKER_FRONT_LEFT   0x00000001
 
#define SPEAKER_FRONT_LEFT_OF_CENTER   0x00000040
 
#define SPEAKER_FRONT_RIGHT   0x00000002
 
#define SPEAKER_FRONT_RIGHT_OF_CENTER   0x00000080
 
#define SPEAKER_LOW_FREQUENCY   0x00000008
 
#define SPEAKER_MONO   (SPEAKER_FRONT_CENTER)
 
#define SPEAKER_QUAD   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT)
 
#define SPEAKER_RESERVED   0x7FFC0000
 
#define SPEAKER_SIDE_LEFT   0x00000200
 
#define SPEAKER_SIDE_RIGHT   0x00000400
 
#define SPEAKER_STEREO   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT)
 
#define SPEAKER_SURROUND   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_FRONT_CENTER | SPEAKER_BACK_CENTER)
 
#define SPEAKER_TOP_BACK_CENTER   0x00010000
 
#define SPEAKER_TOP_BACK_LEFT   0x00008000
 
#define SPEAKER_TOP_BACK_RIGHT   0x00020000
 
#define SPEAKER_TOP_CENTER   0x00000800
 
#define SPEAKER_TOP_FRONT_CENTER   0x00002000
 
#define SPEAKER_TOP_FRONT_LEFT   0x00001000
 
#define SPEAKER_TOP_FRONT_RIGHT   0x00004000
 
#define WAVE_FORMAT_ADPCM   0x0002
 
#define WAVE_FORMAT_DOLBY_AC3_SPDIF   0x0092
 
#define WAVE_FORMAT_EXTENSIBLE   0xFFFE
 
#define WAVE_FORMAT_IEEE_FLOAT   0x0003
 
#define WAVE_FORMAT_MPEGLAYER3   0x0055
 
#define WAVE_FORMAT_PCM   0x0001
 
#define WAVE_FORMAT_UNKNOWN   0x0000
 
#define WAVE_FORMAT_WMASPDIF   0x0164
 
#define WAVE_FORMAT_WMAUDIO2   0x0161
 
#define WAVE_FORMAT_WMAUDIO3   0x0162
 

Typedefs

typedef struct adpcmcoef_tag ADPCMCOEFSET
 
typedef struct adpcmwaveformat_tag ADPCMWAVEFORMAT
 
typedef const WAVEFORMATEXLPCWAVEFORMATEX
 
typedef const
WAVEFORMATEXTENSIBLE
LPCWAVEFORMATEXTENSIBLE
 
typedef struct pcmwaveformat_tagLPPCMWAVEFORMAT
 
typedef struct waveformat_tagLPWAVEFORMAT
 
typedef WAVEFORMATEXLPWAVEFORMATEX
 
typedef WAVEFORMATEXTENSIBLELPWAVEFORMATEXTENSIBLE
 
typedef struct pcmwaveformat_tagNPPCMWAVEFORMAT
 
typedef struct waveformat_tagNPWAVEFORMAT
 
typedef WAVEFORMATEXNPWAVEFORMATEX
 
typedef struct pcmwaveformat_tag PCMWAVEFORMAT
 
typedef const WAVEFORMATEXPCWAVEFORMATEX
 
typedef const
WAVEFORMATEXTENSIBLE
PCWAVEFORMATEXTENSIBLE
 
typedef struct pcmwaveformat_tagPPCMWAVEFORMAT
 
typedef struct waveformat_tagPWAVEFORMAT
 
typedef WAVEFORMATEXPWAVEFORMATEX
 
typedef WAVEFORMATEXTENSIBLEPWAVEFORMATEXTENSIBLE
 
typedef struct waveformat_tag WAVEFORMAT
 
typedef struct tWAVEFORMATEX WAVEFORMATEX
 

Macro Definition Documentation

#define _SPEAKER_POSITIONS_

Definition at line 244 of file audiodefs.h.

#define _WAVEFORMATEX_

Definition at line 39 of file audiodefs.h.

#define _WAVEFORMATEXTENSIBLE_

Definition at line 73 of file audiodefs.h.

#define SPEAKER_2POINT1   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT | SPEAKER_LOW_FREQUENCY)

Definition at line 250 of file audiodefs.h.

Definition at line 253 of file audiodefs.h.

Definition at line 256 of file audiodefs.h.

#define SPEAKER_ALL   0x80000000

Definition at line 243 of file audiodefs.h.

#define SPEAKER_BACK_CENTER   0x00000100

Definition at line 232 of file audiodefs.h.

Referenced by DSoundOpenCapture(), and DSoundResetPlayback().

#define SPEAKER_BACK_LEFT   0x00000010
#define SPEAKER_BACK_RIGHT   0x00000020
#define SPEAKER_FRONT_CENTER   0x00000004
#define SPEAKER_FRONT_LEFT   0x00000001
#define SPEAKER_FRONT_LEFT_OF_CENTER   0x00000040

Definition at line 230 of file audiodefs.h.

#define SPEAKER_FRONT_RIGHT   0x00000002
#define SPEAKER_FRONT_RIGHT_OF_CENTER   0x00000080

Definition at line 231 of file audiodefs.h.

#define SPEAKER_LOW_FREQUENCY   0x00000008
#define SPEAKER_MONO   (SPEAKER_FRONT_CENTER)

Definition at line 248 of file audiodefs.h.

Definition at line 252 of file audiodefs.h.

#define SPEAKER_RESERVED   0x7FFC0000

Definition at line 242 of file audiodefs.h.

#define SPEAKER_SIDE_LEFT   0x00000200
#define SPEAKER_SIDE_RIGHT   0x00000400
#define SPEAKER_STEREO   (SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT)

Definition at line 249 of file audiodefs.h.

Definition at line 251 of file audiodefs.h.

#define SPEAKER_TOP_BACK_CENTER   0x00010000

Definition at line 240 of file audiodefs.h.

#define SPEAKER_TOP_BACK_LEFT   0x00008000

Definition at line 239 of file audiodefs.h.

#define SPEAKER_TOP_BACK_RIGHT   0x00020000

Definition at line 241 of file audiodefs.h.

#define SPEAKER_TOP_CENTER   0x00000800

Definition at line 235 of file audiodefs.h.

#define SPEAKER_TOP_FRONT_CENTER   0x00002000

Definition at line 237 of file audiodefs.h.

#define SPEAKER_TOP_FRONT_LEFT   0x00001000

Definition at line 236 of file audiodefs.h.

#define SPEAKER_TOP_FRONT_RIGHT   0x00004000

Definition at line 238 of file audiodefs.h.

#define WAVE_FORMAT_ADPCM   0x0002

Definition at line 149 of file audiodefs.h.

#define WAVE_FORMAT_DOLBY_AC3_SPDIF   0x0092

Definition at line 168 of file audiodefs.h.

#define WAVE_FORMAT_EXTENSIBLE   0xFFFE

Definition at line 184 of file audiodefs.h.

#define WAVE_FORMAT_IEEE_FLOAT   0x0003

Definition at line 160 of file audiodefs.h.

#define WAVE_FORMAT_MPEGLAYER3   0x0055

Definition at line 164 of file audiodefs.h.

#define WAVE_FORMAT_PCM   0x0001

Definition at line 123 of file audiodefs.h.

#define WAVE_FORMAT_UNKNOWN   0x0000

Definition at line 156 of file audiodefs.h.

#define WAVE_FORMAT_WMASPDIF   0x0164

Definition at line 180 of file audiodefs.h.

#define WAVE_FORMAT_WMAUDIO2   0x0161

Definition at line 172 of file audiodefs.h.

#define WAVE_FORMAT_WMAUDIO3   0x0162

Definition at line 176 of file audiodefs.h.

Typedef Documentation

typedef struct adpcmcoef_tag ADPCMCOEFSET

Definition at line 57 of file audiodefs.h.

Definition at line 91 of file audiodefs.h.

typedef struct waveformat_tag* LPWAVEFORMAT

Definition at line 56 of file audiodefs.h.

Definition at line 90 of file audiodefs.h.

typedef struct waveformat_tag* NPWAVEFORMAT

Definition at line 56 of file audiodefs.h.

Definition at line 57 of file audiodefs.h.

Definition at line 91 of file audiodefs.h.

typedef struct waveformat_tag * PWAVEFORMAT

Definition at line 56 of file audiodefs.h.

Definition at line 90 of file audiodefs.h.

typedef struct waveformat_tag WAVEFORMAT
typedef struct tWAVEFORMATEX WAVEFORMATEX