> > > > on a currentTime call we calculate the new current time > > out of the starttime and the played bytes. > > > > AudioTime* audioTime=outputStream->getAudioTime(); > > float currentTime=audioTime->getTime()+(float)startTime; > > time.seconds=(long)(currentTime+startTime); should be: time.seconds=(long)(currentTime) startTime added twice. > > time.ms=(long) (1000.0*(currentTime-(float)time.seconds)); this should be ok. Martin > > return time; _______________________________________________ Kde-multimedia mailing list Kde-multimedia@master.kde.org http://master.kde.org/mailman/listinfo/kde-multimedia