1 #ifndef PA_LINUX_ALSA_H
2 #define PA_LINUX_ALSA_H
51 typedef struct PaAlsaStreamInfo
55 unsigned long version;
57 const char *deviceString;
72 void PaAlsa_EnableWatchdog(
PaStream *s,
int enable );
void PaStream
A single PaStream can provide multiple channels of real-time streaming audio input and output to a cl...
void PaAlsa_InitializeStreamInfo(PaAlsaStreamInfo *info)
Initialize host API specific structure, call this before setting relevant attributes.
void PaAlsa_EnableRealtimeScheduling(PaStream *s, int enable)
Instruct whether to enable real-time priority when starting the audio thread.
int PaError
Error codes returned by PortAudio functions.
PaHostApiTypeId
Unchanging unique identifiers for each supported host API.
PaError PaAlsa_SetNumPeriods(int numPeriods)
Set the number of periods (buffer fragments) to configure devices with.
PaError PaAlsa_GetStreamInputCard(PaStream *s, int *card)
Get the ALSA-lib card index of this stream's input device.
PaError PaAlsa_GetStreamOutputCard(PaStream *s, int *card)
Get the ALSA-lib card index of this stream's output device.