summaryrefslogtreecommitdiff
path: root/plugins/vorbis
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-16 21:27:08 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-09-16 21:27:08 +0200
commit6d505b25848c8db7363e54a6902aebc859f53bc7 (patch)
treeea8bd4b5d748f61c838214de550997d734c95aec /plugins/vorbis
parent743cf8e3a236a18080de2fb9467185d54e60afe4 (diff)
gapless playback 2nd iteration - sample-accurate seeking on flac and ape
Diffstat (limited to 'plugins/vorbis')
-rw-r--r--plugins/vorbis/vorbis.c2
1 files changed, 1 insertions, 1 deletions
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;