PortAudio
2.0
|
Windows specific PortAudio API extension and utilities header file. More...
Go to the source code of this file.
Data Structures | |
struct | PaWinWaveFormat |
Typedefs | |
typedef unsigned long | PaWinWaveFormatChannelMask |
Functions | |
int | PaWin_SampleFormatToLinearWaveFormatTag (PaSampleFormat sampleFormat) |
void | PaWin_InitializeWaveFormatEx (PaWinWaveFormat *waveFormat, int numChannels, PaSampleFormat sampleFormat, int waveFormatTag, double sampleRate) |
void | PaWin_InitializeWaveFormatExtensible (PaWinWaveFormat *waveFormat, int numChannels, PaSampleFormat sampleFormat, int waveFormatTag, double sampleRate, PaWinWaveFormatChannelMask channelMask) |
PaWinWaveFormatChannelMask | PaWin_DefaultChannelMask (int numChannels) |
Windows specific PortAudio API extension and utilities header file.
#define PAWIN_INDEXOF_DWCHANNELMASK (PAWIN_SIZEOF_WAVEFORMATEX+2) |
Referenced by PaWin_InitializeWaveFormatExtensible().
#define PAWIN_INDEXOF_SUBFORMAT (PAWIN_SIZEOF_WAVEFORMATEX+6) |
Referenced by PaWin_InitializeWaveFormatExtensible().
#define PAWIN_INDEXOF_WVALIDBITSPERSAMPLE (PAWIN_SIZEOF_WAVEFORMATEX+0) |
Referenced by PaWin_InitializeWaveFormatExtensible().
#define PAWIN_SIZEOF_WAVEFORMATEX 18 |
#define PAWIN_SIZEOF_WAVEFORMATEXTENSIBLE (PAWIN_SIZEOF_WAVEFORMATEX + 22) |
#define PAWIN_SPEAKER_5POINT1 |
Referenced by main(), and PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_5POINT1_BACK PAWIN_SPEAKER_5POINT1 |
#define PAWIN_SPEAKER_5POINT1_SURROUND |
#define PAWIN_SPEAKER_7POINT1 |
#define PAWIN_SPEAKER_7POINT1_SURROUND |
Referenced by PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_7POINT1_WIDE PAWIN_SPEAKER_7POINT1 |
#define PAWIN_SPEAKER_ALL ((PaWinWaveFormatChannelMask)0x80000000) |
#define PAWIN_SPEAKER_BACK_CENTER ((PaWinWaveFormatChannelMask)0x100) |
#define PAWIN_SPEAKER_BACK_LEFT ((PaWinWaveFormatChannelMask)0x10) |
#define PAWIN_SPEAKER_BACK_RIGHT ((PaWinWaveFormatChannelMask)0x20) |
#define PAWIN_SPEAKER_DIRECTOUT 0 |
Referenced by PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_FRONT_CENTER ((PaWinWaveFormatChannelMask)0x4) |
Referenced by PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_FRONT_LEFT ((PaWinWaveFormatChannelMask)0x1) |
Referenced by PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_FRONT_LEFT_OF_CENTER ((PaWinWaveFormatChannelMask)0x40) |
#define PAWIN_SPEAKER_FRONT_RIGHT ((PaWinWaveFormatChannelMask)0x2) |
Referenced by PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_FRONT_RIGHT_OF_CENTER ((PaWinWaveFormatChannelMask)0x80) |
#define PAWIN_SPEAKER_GROUND_FRONT_CENTER PAWIN_SPEAKER_FRONT_CENTER |
#define PAWIN_SPEAKER_GROUND_FRONT_LEFT PAWIN_SPEAKER_FRONT_LEFT |
#define PAWIN_SPEAKER_GROUND_FRONT_RIGHT PAWIN_SPEAKER_FRONT_RIGHT |
#define PAWIN_SPEAKER_GROUND_REAR_LEFT PAWIN_SPEAKER_BACK_LEFT |
#define PAWIN_SPEAKER_GROUND_REAR_RIGHT PAWIN_SPEAKER_BACK_RIGHT |
#define PAWIN_SPEAKER_LOW_FREQUENCY ((PaWinWaveFormatChannelMask)0x8) |
#define PAWIN_SPEAKER_MONO (PAWIN_SPEAKER_FRONT_CENTER) |
Referenced by PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_QUAD |
Referenced by PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_RESERVED ((PaWinWaveFormatChannelMask)0x7FFC0000) |
#define PAWIN_SPEAKER_SIDE_LEFT ((PaWinWaveFormatChannelMask)0x200) |
#define PAWIN_SPEAKER_SIDE_RIGHT ((PaWinWaveFormatChannelMask)0x400) |
#define PAWIN_SPEAKER_STEREO (PAWIN_SPEAKER_FRONT_LEFT | PAWIN_SPEAKER_FRONT_RIGHT) |
Referenced by main(), and PaWin_DefaultChannelMask().
#define PAWIN_SPEAKER_SUPER_WOOFER PAWIN_SPEAKER_LOW_FREQUENCY |
#define PAWIN_SPEAKER_SURROUND |
#define PAWIN_SPEAKER_TOP_BACK_CENTER ((PaWinWaveFormatChannelMask)0x10000) |
#define PAWIN_SPEAKER_TOP_BACK_LEFT ((PaWinWaveFormatChannelMask)0x8000) |
#define PAWIN_SPEAKER_TOP_BACK_RIGHT ((PaWinWaveFormatChannelMask)0x20000) |
#define PAWIN_SPEAKER_TOP_CENTER ((PaWinWaveFormatChannelMask)0x800) |
#define PAWIN_SPEAKER_TOP_FRONT_CENTER ((PaWinWaveFormatChannelMask)0x2000) |
#define PAWIN_SPEAKER_TOP_FRONT_LEFT ((PaWinWaveFormatChannelMask)0x1000) |
#define PAWIN_SPEAKER_TOP_FRONT_RIGHT ((PaWinWaveFormatChannelMask)0x4000) |
#define PAWIN_SPEAKER_TOP_MIDDLE PAWIN_SPEAKER_TOP_CENTER |
#define PAWIN_WAVE_FORMAT_DOLBY_AC3_SPDIF (0x0092) |
#define PAWIN_WAVE_FORMAT_IEEE_FLOAT (3) |
Referenced by PaWin_SampleFormatToLinearWaveFormatTag().
#define PAWIN_WAVE_FORMAT_PCM (1) |
Referenced by PaWin_SampleFormatToLinearWaveFormatTag().
#define PAWIN_WAVE_FORMAT_WMA_SPDIF (0x0164) |
typedef unsigned long PaWinWaveFormatChannelMask |
PaWinWaveFormatChannelMask PaWin_DefaultChannelMask | ( | int | numChannels | ) |
void PaWin_InitializeWaveFormatEx | ( | PaWinWaveFormat * | waveFormat, |
int | numChannels, | ||
PaSampleFormat | sampleFormat, | ||
int | waveFormatTag, | ||
double | sampleRate | ||
) |
References Pa_GetSampleSize().
void PaWin_InitializeWaveFormatExtensible | ( | PaWinWaveFormat * | waveFormat, |
int | numChannels, | ||
PaSampleFormat | sampleFormat, | ||
int | waveFormatTag, | ||
double | sampleRate, | ||
PaWinWaveFormatChannelMask | channelMask | ||
) |
int PaWin_SampleFormatToLinearWaveFormatTag | ( | PaSampleFormat | sampleFormat | ) |
References paFloat32, PAWIN_WAVE_FORMAT_IEEE_FLOAT, and PAWIN_WAVE_FORMAT_PCM.