From 089c9b7e5caf08f5ee1cda32200ab2c056c3d04c Mon Sep 17 00:00:00 2001 From: Laszlo Ashin Date: Thu, 6 Nov 2008 06:48:33 +0100 Subject: wavpack: enable seeking Somehow seeking is disabled on all kinds of wavpack playbacks now in the git version. This patch corrects that. --- src/decoder/wavpack_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c index aa5df7b1d..3d390455f 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, false, + decoder_initialized(decoder, &audio_format, canseek, (float)allsamples / audio_format.sample_rate); position = 0; -- cgit v1.2.3