PulseAudio device. Base class for PulseAudio source and sink.
More...
#include <pulseaudio_device.h>
|
bool | open (const char *device) |
| Open output device. More...
|
|
PulseAudio device. Base class for PulseAudio source and sink.
Definition at line 32 of file pulseaudio_device.h.
◆ PulseaudioDevice()
roc::sndio::PulseaudioDevice::PulseaudioDevice |
( |
const Config & |
config, |
|
|
DeviceType |
device_type |
|
) |
| |
|
protected |
◆ latency()
◆ open()
bool roc::sndio::PulseaudioDevice::open |
( |
const char * |
device | ) |
|
◆ pause()
void roc::sndio::PulseaudioDevice::pause |
( |
| ) |
|
|
protected |
◆ request()
bool roc::sndio::PulseaudioDevice::request |
( |
audio::Frame & |
frame | ) |
|
|
protected |
◆ restart()
bool roc::sndio::PulseaudioDevice::restart |
( |
| ) |
|
|
protected |
Restart reading from the beginning.
◆ resume()
bool roc::sndio::PulseaudioDevice::resume |
( |
| ) |
|
|
protected |
◆ sample_spec()
Get sample specification of the sink.
◆ state()
DeviceState roc::sndio::PulseaudioDevice::state |
( |
| ) |
const |
|
protected |
The documentation for this class was generated from the following file: