PortAudio
2.0
|
#include "pa_util.h"
#include "pa_allocation.h"
#include "pa_hostapi.h"
#include "pa_stream.h"
#include "pa_cpuload.h"
#include "pa_process.h"
#include "pa_unix_util.h"
#include "pa_ringbuffer.h"
#include <stdio.h>
#include <string.h>
#include <pulse/pulseaudio.h>
#include "pa_linux_pulseaudio_internal.h"
Go to the source code of this file.
Functions | |
PaError | PaPulseAudio_CloseStreamBlock (PaStream *stream) |
PaError | PaPulseAudio_StartStreamBlock (PaStream *stream) |
PaError | PaPulseAudio_StopStreamBlock (PaStream *stream) |
PaError | PaPulseAudio_AbortStreamBlock (PaStream *stream) |
PaError | PaPulseAudio_ReadStreamBlock (PaStream *stream, void *buffer, unsigned long frames) |
PaError | PaPulseAudio_WriteStreamBlock (PaStream *stream, const void *buffer, unsigned long frames) |
signed long | PaPulseAudio_GetStreamReadAvailableBlock (PaStream *stream) |
signed long PaPulseAudio_GetStreamReadAvailableBlock | ( | PaStream * | stream | ) |
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().
PaError PaPulseAudio_WriteStreamBlock | ( | PaStream * | stream, |
const void * | buffer, | ||
unsigned long | frames | ||
) |
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().