aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_thread.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-04 17:10:03 +0100
committerMax Kellermann <max@duempel.org>2008-11-04 17:10:03 +0100
commit097bccd4ae9f8c4360f1d0136f928aa9e246adb1 (patch)
tree9acce347b610b00a8e8ca66b789ff6b237d08002 /src/output_thread.h
parent3cf54591e98a4c23c01863590c7a77e862b1fa65 (diff)
downloadmpd-097bccd4ae9f8c4360f1d0136f928aa9e246adb1.tar.gz
mpd-097bccd4ae9f8c4360f1d0136f928aa9e246adb1.tar.xz
mpd-097bccd4ae9f8c4360f1d0136f928aa9e246adb1.zip
wavpack: read first byte from wvc stream
Instead of manually waiting for the input stream to become ready (to catch server errors), just read the first byte. Since the wavpack_input has the capability to push back one byte, we can simply re-feed it. Advantage is: decoder_read() handles everything for us, i.e. waiting for the stream, polling for decoder commands and error handling.
Diffstat (limited to 'src/output_thread.h')
0 files changed, 0 insertions, 0 deletions