aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_command.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* output: use GTimer instead of time_t for reopen after failureMax Kellermann2009-02-281-1/+0
| | | | | | | time() is not a monotonic timer, and MPD might get confused by clock skews. clock_gettime() provides a monotonic clock, but is not portable to non-POSIX systems (i.e. Windows). This patch uses GLib's GTimer API, which aims to be portable.
* audio: moved code to output_command.cMax Kellermann2009-02-111-0/+62
The output_command library provides a command interface to the audio outputs. It assumes the input comes from an untrusted source (i.e. the client) and verifies all parameters.