Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/cdplay
Module Name: src
Committed By: chuck
Date: Thu Dec 14 18:15:17 UTC 2006
Modified Files:
src/usr.bin/cdplay: cdplay.c
Log Message:
take into account the 150 frame start offset time when computing the
duration of a track. call lba2msf like this:
lba2msf(len - 150, &m, &s, &f);
^^^^^
from rev 1.41 of FreeBSD usr.sbin/cdcontrol/cdcontrol.c, Dmitry Afanasiev.
XXX: note that this is a mis-use of lba2msf() because 'len' is the length
of the track in frames, not a logical block address (lba).
To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/usr.bin/cdplay/cdplay.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index