summaryrefslogtreecommitdiff
path: root/cdumb.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-16 21:45:18 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-16 21:45:18 +0200
commit888203704217c65db17ea2262204279ab85df283 (patch)
tree24411732ea0a87db7a9ac57702f120b332ee5e2e /cdumb.c
parent090ea2c0ad39873550092bde1608ffc9ce31d296 (diff)
updated all codecs to calculate readposition
Diffstat (limited to 'cdumb.c')
-rw-r--r--cdumb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdumb.c b/cdumb.c
index 9d23239c..644066ea 100644
--- a/cdumb.c
+++ b/cdumb.c
@@ -144,7 +144,7 @@ cdumb_read (char *bytes, int size) {
int length = size / 4;
long ret;
ret = duh_render (renderer, 16, 0, 1, 65536.f / cdumb.info.samplesPerSecond, length, bytes);
- //cdumb.info.position += ret / (float)cdumb.info.samplesPerSecond;
+ cdumb.info.readposition += ret / (float)cdumb.info.samplesPerSecond;
return ret*4;
}