diff options
Diffstat (limited to 'src/decoder/wavpack_plugin.c')
-rw-r--r-- | src/decoder/wavpack_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c index ef2ea6a99..663bc1f2b 100644 --- a/src/decoder/wavpack_plugin.c +++ b/src/decoder/wavpack_plugin.c @@ -164,7 +164,7 @@ static void wavpack_decode(struct decoder * decoder, samplesreq = sizeof(chunk) / (4 * audio_format.channels); - decoder_initialized(decoder, &audio_format, + decoder_initialized(decoder, &audio_format, false, (float)allsamples / audio_format.sample_rate); position = 0; @@ -200,7 +200,7 @@ static void wavpack_decode(struct decoder * decoder, format_samples(Bps, chunk, samplesgot * audio_format.channels); - decoder_data(decoder, NULL, 0, chunk, + decoder_data(decoder, NULL, chunk, samplesgot * outsamplesize, file_time, bitrate, replayGainInfo); |