|
Jack2
1.9.12
|
ASIO-specific PortAudio API extension header file. More...
#include "portaudio.h"Go to the source code of this file.
Classes | |
| struct | PaAsioStreamInfo |
Macros | |
| #define | PaAsio_GetAvailableLatencyValues PaAsio_GetAvailableBufferSizes |
| #define | paAsioUseChannelSelectors (0x01) |
Typedefs | |
| typedef struct PaAsioStreamInfo | PaAsioStreamInfo |
Functions | |
| PaError | PaAsio_GetAvailableBufferSizes (PaDeviceIndex device, long *minBufferSizeFrames, long *maxBufferSizeFrames, long *preferredBufferSizeFrames, long *granularity) |
| PaError | PaAsio_ShowControlPanel (PaDeviceIndex device, void *systemSpecific) |
| PaError | PaAsio_GetInputChannelName (PaDeviceIndex device, int channelIndex, const char **channelName) |
| PaError | PaAsio_GetOutputChannelName (PaDeviceIndex device, int channelIndex, const char **channelName) |
| PaError | PaAsio_SetStreamSampleRate (PaStream *stream, double sampleRate) |
ASIO-specific PortAudio API extension header file.
Definition in file pa_asio.h.
| #define PaAsio_GetAvailableLatencyValues PaAsio_GetAvailableBufferSizes |
Backwards compatibility alias for PaAsio_GetAvailableBufferSizes
| PaError PaAsio_GetAvailableBufferSizes | ( | PaDeviceIndex | device, |
| long * | minBufferSizeFrames, | ||
| long * | maxBufferSizeFrames, | ||
| long * | preferredBufferSizeFrames, | ||
| long * | granularity | ||
| ) |
Retrieve legal native buffer sizes for the specificed device, in sample frames.
| device | The global index of the device about which the query is being made. |
| minBufferSizeFrames | A pointer to the location which will receive the minimum buffer size value. |
| maxBufferSizeFrames | A pointer to the location which will receive the maximum buffer size value. |
| preferredBufferSizeFrames | A pointer to the location which will receive the preferred buffer size value. |
| granularity | A pointer to the location which will receive the "granularity". This value determines the step size used to compute the legal values between minBufferSizeFrames and maxBufferSizeFrames. If granularity is -1 then available buffer size values are powers of two. |
| PaError PaAsio_ShowControlPanel | ( | PaDeviceIndex | device, |
| void * | systemSpecific | ||
| ) |
Display the ASIO control panel for the specified device.
| device | The global index of the device whose control panel is to be displayed. |
| systemSpecific | On Windows, the calling application's main window handle, on Macintosh this value should be zero. |
| PaError PaAsio_GetInputChannelName | ( | PaDeviceIndex | device, |
| int | channelIndex, | ||
| const char ** | channelName | ||
| ) |
Retrieve a pointer to a string containing the name of the specified input channel. The string is valid until Pa_Terminate is called.
The string will be no longer than 32 characters including the null terminator.
| PaError PaAsio_GetOutputChannelName | ( | PaDeviceIndex | device, |
| int | channelIndex, | ||
| const char ** | channelName | ||
| ) |
Retrieve a pointer to a string containing the name of the specified input channel. The string is valid until Pa_Terminate is called.
The string will be no longer than 32 characters including the null terminator.
Set the sample rate of an open paASIO stream.
| stream | The stream to operate on. |
| sampleRate | The new sample rate. |
Note that this function may fail if the stream is alredy running and the ASIO driver does not support switching the sample rate of a running stream.
Returns paIncompatibleStreamHostApi if stream is not a paASIO stream.
1.8.14