PortAudio  2.0
Functions
pa_linux_pulseaudio.h File Reference

PulseAudio-specific PortAudio API extension header file. More...

#include "portaudio.h"

Go to the source code of this file.

Functions

PaError PaPulseAudio_RenameSource (PaStream *s, const char *streamName)
 
PaError PaPulseAudio_RenameSink (PaStream *s, const char *streamName)
 

Detailed Description

PulseAudio-specific PortAudio API extension header file.

Function Documentation

PaError PaPulseAudio_RenameSink ( PaStream s,
const char *  streamName 
)

Renames the PulseAudio description for the sink that is opened by PortAudio.

Parameters
sThe PortAudio stream to operate on.
streamNameThe new name/description of the sink.
Returns
paNoError on success or the error encountered otherwise.

References PaPulseAudio_Stream::hostapi, PaPulseAudio_Stream::mainloop, PaPulseAudio_Stream::outputStream, PaPulseAudio_Stream::outputStreamName, paInsufficientMemory, paInvalidDevice, paNoError, PaPulseAudio_Lock(), PAPULSEAUDIO_MAX_DEVICENAME, PaPulseAudio_ReleaseOperation(), PaPulseAudio_UnLock(), PaUtil_AllocateZeroInitializedMemory(), and PaUtil_FreeMemory().

PaError PaPulseAudio_RenameSource ( PaStream s,
const char *  streamName 
)

Renames the PulseAudio description for the source that is opened by PortAudio.

Parameters
sThe PortAudio stream to operate on.
streamNameThe new name/description of the source.
Returns
paNoError on success or the error encountered otherwise.

References PaPulseAudio_Stream::hostapi, PaPulseAudio_Stream::inputStream, PaPulseAudio_Stream::inputStreamName, PaPulseAudio_Stream::mainloop, paInsufficientMemory, paInvalidDevice, paNoError, PaPulseAudio_Lock(), PAPULSEAUDIO_MAX_DEVICENAME, PaPulseAudio_ReleaseOperation(), PaPulseAudio_UnLock(), PaUtil_AllocateZeroInitializedMemory(), and PaUtil_FreeMemory().