aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/mvp_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* output_api: play() returns a lengthMax Kellermann2009-02-231-6/+6
| | | | | | | | The old API required an output plugin to not return until all data passed to the play() method is consumed. Some output plugins have to loop to fulfill that requirement, and may block during that. Simplify these, by letting them consume only part of the buffer: make play() return the length of the consumed data.
* output_api: removed audio_output_closed()Max Kellermann2009-01-301-1/+0
| | | | | The function is only used by the MVP output plugin, and this one call is wrong.
* use g_free() instead of free()Max Kellermann2009-01-251-1/+1
| | | | | | On some platforms, g_free() must be used for memory allocated by GLib. This patch intends to correct a lot of occurrences, but is probably not complete.
* conf: const pointers in block get functionsMax Kellermann2009-01-251-1/+1
| | | | | All config_get_block_*() functions should accept constant config_param pointers.
* conf: no CamelCase, part IMax Kellermann2009-01-171-1/+1
| | | | Renamed functions, types, variables.
* fix G_BYTE_ORDER checkMax Kellermann2009-01-051-1/+1
| | | | "#ifdef G_BYTE_ORDER == G_BIG_ENDIAN" cannot work, of course.
* use GLib byte order macrosMax Kellermann2009-01-051-6/+7
|
* output plugins: don't include gcc.hMax Kellermann2009-01-011-3/+4
| | | | Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
* mvp: use GLib instead of utils.h/log.hMax Kellermann2008-11-251-16/+27
|
* 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-13/+15
| | | | | 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/+280
Again, no CamelCase in the directory name.