diff options
author | Max Kellermann <max@duempel.org> | 2008-11-04 17:10:03 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-04 17:10:03 +0100 |
commit | 097bccd4ae9f8c4360f1d0136f928aa9e246adb1 (patch) | |
tree | 9acce347b610b00a8e8ca66b789ff6b237d08002 /src/sig_handlers.c | |
parent | 3cf54591e98a4c23c01863590c7a77e862b1fa65 (diff) | |
download | mpd-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 '')
0 files changed, 0 insertions, 0 deletions