cdda: fix time reported after seek and misc clean up
The sys->pts
date was not (re)set when calling DEMUX_SET_POSITION
(and DEMUX_SET_TIME
). The time reported by DEMUX_GET_TIME
was correct, but the pts written in the block and the PCR were not.
- count the pts time using
CD_ROM_CDDA_FRAMES
(number of audio frames per second)
Edited by Steve Lhomme