summaryrefslogtreecommitdiff
path: root/src/output/plugins/SndioOutputPlugin.cxx
AgeCommit message (Collapse)Author
2020-01-18copyright year 2020Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-10-31*: copyright year 2018Max Kellermann
2017-09-19output/sndio: refuse to build with libroarsndioMax Kellermann
RoarAudio's sndio emulation has been a source for annoyances. First, their headers turned out to be broken with C++, due to their use of the "new" keyword. Then they used a preprocessor macro to rename "sio_hdl" to something else, effectively disallowing the use of forward declarations. Enough is enough, and I'm removing support for it. RoarAudio users should better use the RoarAudio output plugin.
2017-09-19output/sndio: use forward declarationsMax Kellermann
2017-09-19Merge branch 'v0.20.x'Max Kellermann
2017-09-19output/sndio: fix indentMax Kellermann
2017-09-19output/sndio: rename the "sio_hdl" variable to avoid clash with struct nameMax Kellermann
2017-09-16Add sndio mixer pluginChristopher Zimmermann
2017-09-16SndioOutput: Move class definition to headerChristopher Zimmermann
no change in behaviour.
2017-08-10output/Interface: convert to abstract classMax Kellermann
Yet another C-style vtable replaced with C++.
2017-08-08output/Interface: define a new struct AudioOutputMax Kellermann
Hide struct FilteredAudioOutput from the plugins, preparing for hiding MPD's core internals.
2017-08-07filter/Internal: rename struct AudioOutput to FilteredAudioOutputMax Kellermann
Prepare to add an abstract class AudioOutput, to be implemented by plugins, to get rid of the C-style vtable.
2017-02-01Merge tag 'v0.20.4'Max Kellermann
release v0.20.4
2017-02-01output/sndio: work around a libroar C++ incompatibilityMax Kellermann
Same as in commit e02d8ad8d29ac, but this time for the sndio plugin which can be emulated by libroar.
2017-01-25output/Plugin: pass EventLoop& to init()Max Kellermann
Eliminate dependency on io_thread_get().
2017-01-03update copyright yearMax Kellermann
2016-12-28output/Plugin: delay() returns std::chrono::steady_clock::durationMax Kellermann
2016-11-09output/Plugin: remove 'Error&' parameters, use C++ exceptions onlyMax Kellermann
2016-11-08output/sndio: migrate from class Error to C++ exceptionsMax Kellermann
2016-06-24output/sndio: Remove unused attributeDimitris Papastamos
The variable is actually used in this function.
2016-06-24output/sndio: Add 24-bit 4-byte packed audio format supportDimitris Papastamos
2016-06-24output/sndio: No need to use a loop in Play()Dimitris Papastamos
This is a left-over from the previous version of the code that was retrying on EINTR.
2016-06-23output/sndio: Use size_t instead of ssize_tDimitris Papastamos
Some minor style fixes as well.
2016-06-22sndio: Eliminate remaining goto usage to conform to MPD styleDimitris Papastamos
2016-06-22sndio: Fix segmentation fault when audio card is removedDimitris Papastamos
This can happen if you remove an external audio card or if you stop sndiod(8) while playing a song. sio_write() will retry internally if it fails with errno == EINTR so no need to handle that.
2016-06-22sndio: Allow tweaking application buffer sizeDimitris Papastamos
It defaults to 250 ms.
2016-06-22sndio: No need to use a timer so get rid of itDimitris Papastamos
2016-06-22output/sndio: remove unnecessary initializationMax Kellermann
2016-06-22sndio: Add option to select output deviceDimitris Papastamos
2016-06-22output/sndio: define SIO_DEVANY if it is undefinedMax Kellermann
Fixes build failure on Debian Wheezy.
2016-06-22sndio: Implement sndio_test_default_device()Dimitris Papastamos
2016-06-22Add sndio output pluginDimitris Papastamos