Audio output class utilizing libao for output.
More...
#include <libaooutput.h>
|
| static std::mutex | ao_mutex |
| | Mutex to restrict concurrent calls into libao API. More...
|
| |
Audio output class utilizing libao for output.
◆ LibaoOutput()
Open audio output using libAO.
- Parameters
-
| settings | Device/ driver/ host to use for output. |
| data_format | The format in which samples will arrive for output. |
◆ ~LibaoOutput()
| Audio::LibaoOutput::~LibaoOutput |
( |
| ) |
|
|
overridevirtual |
◆ play()
| bool Audio::LibaoOutput::play |
( |
void * |
buffer, |
|
|
unsigned |
number_of_bytes |
|
) |
| |
|
overridevirtual |
Play output.
- Parameters
-
| buffer | The samples, in packed (interleaved) format if multichannel. |
| number_of_bytes | Size of the buffer; number of samples is determined by the audio format set when opening the channel. |
Implements Audio::Output.
◆ ao_mutex
| std::mutex Audio::LibaoOutput::ao_mutex |
|
staticprivate |
Mutex to restrict concurrent calls into libao API.
◆ device
| ao_device* Audio::LibaoOutput::device = nullptr |
|
private |
The documentation for this class was generated from the following files: