From 58989af1f2ae0e8517cade6421796fe8c6de0382 Mon Sep 17 00:00:00 2001 From: vspader Date: Sun, 4 Mar 2007 22:06:47 +0000 Subject: [PATCH] Fixed length for vorbis plugin. --- Plugins/Vorbis/VorbisDecoder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Vorbis/VorbisDecoder.m b/Plugins/Vorbis/VorbisDecoder.m index f094a95e9..ef11a2449 100644 --- a/Plugins/Vorbis/VorbisDecoder.m +++ b/Plugins/Vorbis/VorbisDecoder.m @@ -68,7 +68,7 @@ long sourceTell(void *datasource) seekable = ov_seekable(&vorbisRef); - length = 0.0;//((double)ov_pcm_total(&vorbisRef, -1) * 1000.0)/frequency; + length = ((double)ov_pcm_total(&vorbisRef, -1) * 1000.0)/frequency; NSLog(@"Ok to go WITH OGG. %i", seekable); [self willChangeValueForKey:@"properties"];