Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-4] src/usr.bin/cdplay
Module Name: src
Committed By: riz
Date: Sun Dec 17 21:47:53 UTC 2006
Modified Files:
src/usr.bin/cdplay [netbsd-4]: cdplay.c
Log Message:
Pull up following revision(s) (requested by chuck in ticket #276):
usr.bin/cdplay/cdplay.c: revision 1.35
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.34.2.1 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