43 #ifndef _PA_HOSTAPI_PULSEAUDIO_BLOCK_H_
44 #define _PA_HOSTAPI_PULSEAUDIO_BLOCK_H_
59 #include <pulse/pulseaudio.h>
78 unsigned long frames );
82 unsigned long frames );
Single-reader single-writer lock-free ring buffer.
PaError PaPulseAudio_StartStreamBlock(PaStream *stream)
PaError PaPulseAudio_CloseStreamBlock(PaStream *stream)
void PaStream
Definition: portaudio.h:644
PaError PaPulseAudio_WriteStreamBlock(PaStream *s, const void *buffer, unsigned long frames)
Definition: pa_linux_pulseaudio_block.c:98
signed long PaPulseAudio_GetStreamReadAvailableBlock(PaStream *s)
Definition: pa_linux_pulseaudio_block.c:186
PaError PaPulseAudio_StopStreamBlock(PaStream *stream)
Buffer Processor prototypes. A Buffer Processor performs buffer length adaption, coordinates sample f...
PaError PaPulseAudio_ReadStreamBlock(PaStream *s, void *buffer, unsigned long frames)
Definition: pa_linux_pulseaudio_block.c:61
Allocation Group prototypes. An Allocation Group makes it easy to allocate multiple blocks of memory ...
Interfaces and representation structures used by pa_front.c to manage and communicate with host API i...
Stream interfaces, representation structures and helper functions used to interface between pa_front...
int PaError
Definition: portaudio.h:122
Prototypes for utility functions used by PortAudio implementations.
PaError PaPulseAudio_AbortStreamBlock(PaStream *stream)
char buffer[NUM_BYTES]
Definition: recplay.c:26
Functions to assist in measuring the CPU utilization of a callback stream. Used to implement the Pa_G...