Julius 4.2
データ構造 | マクロ定義 | 関数
msvc/portaudio/pa_asio.h

ASIO-specific PortAudio API extension header file. [詳細]

#include "portaudio.h"

ソースコードを見る。

データ構造

struct  PaAsioStreamInfo

マクロ定義

#define paAsioUseChannelSelectors   (0x01)

関数

PaError PaAsio_GetAvailableLatencyValues (PaDeviceIndex device, long *minLatency, long *maxLatency, long *preferredLatency, long *granularity)
 Retrieve legal latency settings for the specificed device, in samples.
PaError PaAsio_ShowControlPanel (PaDeviceIndex device, void *systemSpecific)
 Display the ASIO control panel for the specified device.
PaError PaAsio_GetInputChannelName (PaDeviceIndex device, int channelIndex, const char **channelName)
 Retrieve a pointer to a string containing the name of the specified input channel.
PaError PaAsio_GetOutputChannelName (PaDeviceIndex device, int channelIndex, const char **channelName)
 Retrieve a pointer to a string containing the name of the specified input channel.

説明

ASIO-specific PortAudio API extension header file.

pa_asio.h で定義されています。


関数

PaError PaAsio_GetAvailableLatencyValues ( PaDeviceIndex  device,
long *  minLatency,
long *  maxLatency,
long *  preferredLatency,
long *  granularity 
)

Retrieve legal latency settings for the specificed device, in samples.

引数:
deviceThe global index of the device about which the query is being made.
minLatencyA pointer to the location which will recieve the minimum latency value.
maxLatencyA pointer to the location which will recieve the maximum latency value.
preferredLatencyA pointer to the location which will recieve the preferred latency value.
granularityA pointer to the location which will recieve the granularity. This value determines which values between minLatency and maxLatency are available. ie the step size, if granularity is -1 then available latency settings are powers of two.
参照:
ASIOGetBufferSize in the ASIO SDK.
TODO:
This function should have a better name, any suggestions?
PaError PaAsio_ShowControlPanel ( PaDeviceIndex  device,
void *  systemSpecific 
)

Display the ASIO control panel for the specified device.

引数:
deviceThe global index of the device whose control panel is to be displayed.
systemSpecificOn 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.