decoder/{dsf,dsdiff}: fix displayed bit rate
The formula did not consider the channel count. Closes https://github.com/MusicPlayerDaemon/MPD/issues/639
This commit is contained in:
@@ -291,7 +291,7 @@ dsf_decode_chunk(DecoderClient &client, InputStream &is,
|
||||
|
||||
cmd = client.SubmitData(is,
|
||||
interleaved_buffer, block_size,
|
||||
sample_rate / 1000);
|
||||
channels * sample_rate / 1000);
|
||||
++i;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user