PortAudio
2.0
|
PulseAudio implementation of support for a host API. More...
Functions | |
PaError | PaPulseAudio_ReadStreamBlock (PaStream *s, void *buffer, unsigned long frames) |
PaError | PaPulseAudio_WriteStreamBlock (PaStream *s, const void *buffer, unsigned long frames) |
signed long | PaPulseAudio_GetStreamReadAvailableBlock (PaStream *s) |
PulseAudio implementation of support for a host API.
This host API implements PulseAudio support for portaudio it has callbackmode and normal write mode support
signed long PaPulseAudio_GetStreamReadAvailableBlock | ( | PaStream * | s | ) |
References PaPulseAudio_Stream::hostapi, PaPulseAudio_Stream::inputFrameSize, PaPulseAudio_Stream::inputRing, PaPulseAudio_Stream::mainloop, PA_PULSEAUDIO_IS_ERROR, paNoError, PaPulseAudio_Lock(), PaPulseAudio_UnLock(), paStreamIsStopped, and PaUtil_ReadRingBuffer().
Referenced by PaPulseAudio_Initialize().
References PaPulseAudio_Stream::cpuLoadMeasurer, PaPulseAudio_Stream::mainloop, PaPulseAudio_Stream::outputFrameSize, PaPulseAudio_Stream::outputStream, PA_PULSEAUDIO_IS_ERROR, paInsufficientMemory, paNoError, PaPulseAudio_Lock(), PaPulseAudio_UnLock(), paStreamIsStopped, PaUtil_BeginCpuLoadMeasurement(), and PaUtil_EndCpuLoadMeasurement().
Referenced by PaPulseAudio_Initialize().