diff options
author | Max Kellermann <max@duempel.org> | 2011-02-27 23:26:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-02-27 23:26:50 +0100 |
commit | 1674a4ec828ebd6822e1d1622d9fcdae5140a61d (patch) | |
tree | 60d7e7974da6be946a2c9e909df9251660f4436d /src/listen.h | |
parent | ce370bee60f685d9e7b109ac67ae656b46779f88 (diff) | |
download | mpd-1674a4ec828ebd6822e1d1622d9fcdae5140a61d.tar.gz mpd-1674a4ec828ebd6822e1d1622d9fcdae5140a61d.tar.xz mpd-1674a4ec828ebd6822e1d1622d9fcdae5140a61d.zip |
output/jack: fix crash with mono playback
With mono sound, jack_sample_size is smaller than frame_size (4 vs 2
bytes), and "space/jack_sample_size==0". That means mpd_jack_play()
will return 0, although no error has occurred.
Diffstat (limited to 'src/listen.h')
0 files changed, 0 insertions, 0 deletions