From 6d505b25848c8db7363e54a6902aebc859f53bc7 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Wed, 16 Sep 2009 21:27:08 +0200 Subject: gapless playback 2nd iteration - sample-accurate seeking on flac and ape --- plugins/vorbis/vorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/vorbis/vorbis.c') diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c index 6daba52a..d0eef1a9 100644 --- a/plugins/vorbis/vorbis.c +++ b/plugins/vorbis/vorbis.c @@ -153,7 +153,7 @@ cvorbis_insert (DB_playItem_t *after, const char *fname) { return NULL; } float duration = ov_time_total (&vorbis_file, -1); - DB_playItem_t *cue_after = deadbeef->pl_insert_cue (after, fname, &plugin, "OggVorbis", duration); + DB_playItem_t *cue_after = deadbeef->pl_insert_cue (after, fname, &plugin, "OggVorbis", duration, vi->rate); if (cue_after) { ov_clear (&vorbis_file); return cue_after; -- cgit v1.2.3