diff options
author | waker <wakeroid@gmail.com> | 2009-08-16 21:45:18 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-16 21:45:18 +0200 |
commit | 888203704217c65db17ea2262204279ab85df283 (patch) | |
tree | 24411732ea0a87db7a9ac57702f120b332ee5e2e /cdumb.c | |
parent | 090ea2c0ad39873550092bde1608ffc9ce31d296 (diff) |
updated all codecs to calculate readposition
Diffstat (limited to 'cdumb.c')
-rw-r--r-- | cdumb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |