diff options
author | Laszlo Ashin <kodest@gmail.com> | 2008-11-06 06:48:33 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-06 06:48:33 +0100 |
commit | 089c9b7e5caf08f5ee1cda32200ab2c056c3d04c (patch) | |
tree | f077631e095226d5e7608ce034b24706a88d3e1d /src/decoder/wavpack_plugin.c | |
parent | dcfb205c46133d214e96446ea584ab6175e266ba (diff) | |
download | mpd-089c9b7e5caf08f5ee1cda32200ab2c056c3d04c.tar.gz mpd-089c9b7e5caf08f5ee1cda32200ab2c056c3d04c.tar.xz mpd-089c9b7e5caf08f5ee1cda32200ab2c056c3d04c.zip |
wavpack: enable seeking
Somehow seeking is disabled on all kinds of wavpack playbacks now in
the git version. This patch corrects that.
Diffstat (limited to 'src/decoder/wavpack_plugin.c')
-rw-r--r-- | src/decoder/wavpack_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |