showwaves: fix PTS computation.