Fixed backwards seeking.

CQTexperiment
vspader 2007-10-12 01:49:36 +00:00
parent 2508c88b8a
commit 5d2e4f6d4a
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@ void closeCallback(void *f)
if (seekPos < pos) { if (seekPos < pos) {
//Reset. Dumb cannot seek backwards. It's dumb. //Reset. Dumb cannot seek backwards. It's dumb.
[self cleanUp]; [self cleanUp];
[source seek:0 whence:SEEK_SET];
[self open:source]; [self open:source];
pos = 0.0; pos = 0.0;