#include <windows.h>
#include <mmsystem.h>
#include "portaudio.h"
#include "pa_win_waveformat.h"
Defines | |
#define | WAVE_FORMAT_EXTENSIBLE 0xFFFE |
#define | WAVE_FORMAT_IEEE_FLOAT 0x0003 |
Functions | |
void | PaWin_InitializeWaveFormatEx (PaWinWaveFormat *waveFormat, int numChannels, PaSampleFormat sampleFormat, double sampleRate) |
void | PaWin_InitializeWaveFormatExtensible (PaWinWaveFormat *waveFormat, int numChannels, PaSampleFormat sampleFormat, double sampleRate, PaWinWaveFormatChannelMask channelMask) |
PaWinWaveFormatChannelMask | PaWin_DefaultChannelMask (int numChannels) |
#define WAVE_FORMAT_EXTENSIBLE 0xFFFE |
Referenced by PaWin_InitializeWaveFormatExtensible().
#define WAVE_FORMAT_IEEE_FLOAT 0x0003 |
Referenced by PaWin_InitializeWaveFormatEx().
PaWinWaveFormatChannelMask PaWin_DefaultChannelMask | ( | int | numChannels | ) |
void PaWin_InitializeWaveFormatEx | ( | PaWinWaveFormat * | waveFormat, | |
int | numChannels, | |||
PaSampleFormat | sampleFormat, | |||
double | sampleRate | |||
) |
References Pa_GetSampleSize(), paFloat32, and WAVE_FORMAT_IEEE_FLOAT.
void PaWin_InitializeWaveFormatExtensible | ( | PaWinWaveFormat * | waveFormat, | |
int | numChannels, | |||
PaSampleFormat | sampleFormat, | |||
double | sampleRate, | |||
PaWinWaveFormatChannelMask | channelMask | |||
) |