PortAudio
2.0
|
WMME-specific PortAudio API extension header file. More...
Go to the source code of this file.
Data Structures | |
struct | PaWinMmeDeviceAndChannelCount |
struct | PaWinMmeStreamInfo |
Macros | |
#define | paWinMmeUseLowLevelLatencyParameters (0x01) |
#define | paWinMmeUseMultipleDevices (0x02) /* use mme specific multiple device feature */ |
#define | paWinMmeUseChannelMask (0x04) |
#define | paWinMmeDontThrottleOverloadedProcessingThread (0x08) |
#define | paWinMmeWaveFormatDolbyAc3Spdif (0x10) |
#define | paWinMmeWaveFormatWmaSpdif (0x20) |
Typedefs | |
typedef struct PaWinMmeDeviceAndChannelCount | PaWinMmeDeviceAndChannelCount |
typedef struct PaWinMmeStreamInfo | PaWinMmeStreamInfo |
Functions | |
int | PaWinMME_GetStreamInputHandleCount (PaStream *stream) |
HWAVEIN | PaWinMME_GetStreamInputHandle (PaStream *stream, int handleIndex) |
int | PaWinMME_GetStreamOutputHandleCount (PaStream *stream) |
HWAVEOUT | PaWinMME_GetStreamOutputHandle (PaStream *stream, int handleIndex) |
WMME-specific PortAudio API extension header file.
#define paWinMmeDontThrottleOverloadedProcessingThread (0x08) |
Referenced by main().
#define paWinMmeUseChannelMask (0x04) |
Referenced by main().
#define paWinMmeUseLowLevelLatencyParameters (0x01) |
Referenced by main().
#define paWinMmeUseMultipleDevices (0x02) /* use mme specific multiple device feature */ |
#define paWinMmeWaveFormatDolbyAc3Spdif (0x10) |
Referenced by main().
#define paWinMmeWaveFormatWmaSpdif (0x20) |
typedef struct PaWinMmeDeviceAndChannelCount PaWinMmeDeviceAndChannelCount |
typedef struct PaWinMmeStreamInfo PaWinMmeStreamInfo |
HWAVEIN PaWinMME_GetStreamInputHandle | ( | PaStream * | stream, |
int | handleIndex | ||
) |
Retrieve a wave in handle used by a PortAudio WinMME stream.
stream | The stream to query. |
handleIndex | The zero based index of the wave in handle to retrieve. This should be in the range [0, PaWinMME_GetStreamInputHandleCount(stream)-1]. |
References PaWinMmeStream::input, PA_IS_INPUT_STREAM_, paNoError, and PaWinMmeSingleDirectionHandlesAndBuffers::waveHandles.
int PaWinMME_GetStreamInputHandleCount | ( | PaStream * | stream | ) |
Retrieve the number of wave in handles used by a PortAudio WinMME stream. Returns zero if the stream is output only.
References PaWinMmeSingleDirectionHandlesAndBuffers::deviceCount, PaWinMmeStream::input, PA_IS_INPUT_STREAM_, and paNoError.
HWAVEOUT PaWinMME_GetStreamOutputHandle | ( | PaStream * | stream, |
int | handleIndex | ||
) |
Retrieve a wave out handle used by a PortAudio WinMME stream.
stream | The stream to query. |
handleIndex | The zero based index of the wave out handle to retrieve. This should be in the range [0, PaWinMME_GetStreamOutputHandleCount(stream)-1]. |
References PaWinMmeStream::output, PA_IS_OUTPUT_STREAM_, paNoError, and PaWinMmeSingleDirectionHandlesAndBuffers::waveHandles.
int PaWinMME_GetStreamOutputHandleCount | ( | PaStream * | stream | ) |
Retrieve the number of wave out handles used by a PortAudio WinMME stream. Returns zero if the stream is input only.
References PaWinMmeSingleDirectionHandlesAndBuffers::deviceCount, PaWinMmeStream::output, PA_IS_OUTPUT_STREAM_, and paNoError.