wavpack: enable seeking
Somehow seeking is disabled on all kinds of wavpack playbacks now in the git version. This patch corrects that.
This commit is contained in:
parent
dcfb205c46
commit
089c9b7e5c
@ -164,7 +164,7 @@ static void wavpack_decode(struct decoder * decoder,
|
||||
|
||||
samplesreq = sizeof(chunk) / (4 * audio_format.channels);
|
||||
|
||||
decoder_initialized(decoder, &audio_format, false,
|
||||
decoder_initialized(decoder, &audio_format, canseek,
|
||||
(float)allsamples / audio_format.sample_rate);
|
||||
|
||||
position = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user