aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/ao_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* conf: const pointers in block get functionsMax Kellermann2009-01-251-1/+1
| | | | | All config_get_block_*() functions should accept constant config_param pointers.
* conf: added config_get_block_unsigned()Max Kellermann2009-01-181-10/+1
| | | | Eliminate some more getBlockParam() invocations.
* conf: added config_get_block_string()Max Kellermann2009-01-181-9/+8
| | | | This replaces lots of getBlockParam() invocations.
* conf: no CamelCase, part IMax Kellermann2009-01-171-4/+5
| | | | Renamed functions, types, variables.
* ao: use g_strsplit() instead of strtok_r()Max Kellermann2009-01-031-37/+15
| | | | g_strsplit() is more portable than strtok_r().
* output plugins: don't include gcc.hMax Kellermann2009-01-011-2/+2
| | | | Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
* ao: use 16 bit sample formatMax Kellermann2008-12-091-0/+6
| | | | | | | | There have been bug reports on MPD regarding 24 bit output via libao/esd. The "ao" plugin does not attempt fall back to 16 bit currently, and thus fails to play 24 bit audio (i.e. all mp3 files). Make it always use 16 bit samples for now, until more bits are well-tested.
* ao: print error message when ao_open_live() failsMax Kellermann2008-11-251-1/+3
| | | | | When ao_open_live() failed, MPD would ignore the error code in "errno". Make it print a meaningful error message.
* ao: support all libao error codesMax Kellermann2008-11-251-9/+29
| | | | | | The function audioOutputAo_error() did not implement all possible libao error codes. Support the rest of them, and fall back to strerror().
* ao: use GLib instead of utils.h/log.hMax Kellermann2008-11-251-19/+21
|
* output: close device on play errorMax Kellermann2008-10-291-1/+0
| | | | | When an output plugin fails to play a chunk, close it. This replaces various manual close() calls in nearly all plugins.
* output: use bool for return values and flagsMax Kellermann2008-10-291-8/+9
| | | | | Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags.
* output: don't compile plugins which are disabledMax Kellermann2008-10-261-8/+0
| | | | Don't compile the sources of disabled output plugins at all.
* renamed src/audioOutputs/ to src/output/Max Kellermann2008-10-261-0/+253
Again, no CamelCase in the directory name.