Jamoma API  0.6.0.a19
pa_win_wmme.h File Reference

WMME-specific PortAudio API extension header file. More...

#include "portaudio.h"
#include "pa_win_waveformat.h"
+ Include dependency graph for pa_win_wmme.h:

Go to the source code of this file.

Functions

int PaWinMME_GetStreamInputHandleCount (PaStream *stream)
 Retrieve the number of wave in handles used by a PortAudio WinMME stream. More...
 
HWAVEIN PaWinMME_GetStreamInputHandle (PaStream *stream, int handleIndex)
 Retrieve a wave in handle used by a PortAudio WinMME stream. More...
 
int PaWinMME_GetStreamOutputHandleCount (PaStream *stream)
 Retrieve the number of wave out handles used by a PortAudio WinMME stream. More...
 
HWAVEOUT PaWinMME_GetStreamOutputHandle (PaStream *stream, int handleIndex)
 Retrieve a wave out handle used by a PortAudio WinMME stream. More...
 

Detailed Description

WMME-specific PortAudio API extension header file.

Definition in file pa_win_wmme.h.

Function Documentation

HWAVEIN PaWinMME_GetStreamInputHandle ( PaStream stream,
int  handleIndex 
)

Retrieve a wave in handle used by a PortAudio WinMME stream.

Parameters
streamThe stream to query.
handleIndexThe zero based index of the wave in handle to retrieve. This should be in the range [0, PaWinMME_GetStreamInputHandleCount(stream)-1].
Returns
A valid wave in handle, or NULL if an error occurred.
See also
PaWinMME_GetStreamInputHandle
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.

Returns
A non-negative value indicating the number of wave in handles or, a PaErrorCode (which are always negative) if PortAudio is not initialized or an error is encountered.
See also
PaWinMME_GetStreamInputHandle
HWAVEOUT PaWinMME_GetStreamOutputHandle ( PaStream stream,
int  handleIndex 
)

Retrieve a wave out handle used by a PortAudio WinMME stream.

Parameters
streamThe stream to query.
handleIndexThe zero based index of the wave out handle to retrieve. This should be in the range [0, PaWinMME_GetStreamOutputHandleCount(stream)-1].
Returns
A valid wave out handle, or NULL if an error occurred.
See also
PaWinMME_GetStreamOutputHandleCount
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.

Returns
A non-negative value indicating the number of wave out handles or, a PaErrorCode (which are always negative) if PortAudio is not initialized or an error is encountered.
See also
PaWinMME_GetStreamOutputHandle