The NetBSD Project

CVS log for src/usr.bin/cdplay/cdplay.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / cdplay

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Nov 27 22:16:41 2021 UTC (3 years, 1 month ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
usr.bin: remove unnecessary CONSTCOND, lint no longer needs it

Since 2021-01-31, lint no longer requires a CONSTCOND comment in a
do-while-0 statement since this is a common code pattern, especially in
statement-like macros.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Oct 18 21:58:32 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +64 -64 lines
cdplay: remove redundant parentheses around return value

Purely cosmetic change.  The generated code stays exactly the same.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Jun 17 00:01:59 2015 UTC (9 years, 7 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4 lines
more stray \n

Revision 1.46.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:57 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +78 -72 lines
Rebase to HEAD as of a few days ago.

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:42 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.1: +78 -72 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Oct 7 15:17:24 2013 UTC (11 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +60 -56 lines
fix the rest of the lint warnings [pass 1]

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Oct 7 00:16:19 2013 UTC (11 years, 3 months ago) by dholland
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +22 -20 lines
Merge some of the cleanup from PR 21894. Do a bit more of my own.
lint still squawks quite a bit, and it woudl probably be worthwhile
for someone to go through and make all the signedness consistent, but
I think I've got the valuable bits.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:09:29 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +115 -70 lines
sync with head

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Jan 4 17:26:21 2012 UTC (13 years ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +20 -9 lines
-make digital mode work in non-interactive mode (init sighandler
 earlier, sleep(3) until playing finished)
-also switch to digital mode if an audio device is given on the
 cmd line, or the (new) "CDPLAY_DIGITAL" env var is set

(The latter can be used to make digital mode default per system.
As I see it, analog mode is not dead yet - two of three external
DVD drives I looked at have a speaker output.)

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jan 4 17:07:20 2012 UTC (13 years ago) by drochner
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -3 lines
kill unnecessary srandom() call which crept in in rev. 1.33

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Nov 26 23:20:41 2011 UTC (13 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +98 -63 lines
If the ioctl to play tracks returned EINVAL, switch to digital mode and
try again.
XXX: Should we do this for the other ioctls? Should we default to digital mode?
Definitely the error message is completely unfriendly and should be fixed.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Aug 29 14:00:54 2011 UTC (13 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +76 -80 lines
ANSIfy + static + __dead

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:45 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +12 -10 lines
Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Apr 11 11:52:35 2009 UTC (15 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +11 -9 lines
fix -W sign-compare issues.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Feb 22 08:32:25 2009 UTC (15 years, 10 months ago) by dholland
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
fix a dud indent

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Dec 29 00:50:06 2008 UTC (16 years ago) by christos
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +7 -5 lines
handle 64 bit time_t

Revision 1.38.12.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:29:08 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +29 -8 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jul 16 17:26:25 2008 UTC (16 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +29 -8 lines
some improvements to digital play mode:
-use AUMODE_PLAY_ALL, from Sergey Svishchev -- this might cause
 stuttering if the write to audio can't keep up, but it avoids pauses
 if the audio buffer drains out on stop/resume
-The timeout for the raw SCSI command to read audio data
 was too small, causing complete failure for me.
-Since the itimer can't do faster than HZ, a too small buffer doesn't
 work. Try to calculate a sensible buffer size.
-While it makes sense to deliver data a bit faster than necessary,
 it should be not that much that the blocking in the signal handler
 hurts interactive response. Allow for 50ms.
-Comment out a sched_yield() in the signal handler - this doesn't
 look right.
This is far from being perfect, but it makes digital mode usable for me.
And for Jeremy C. Reed, the author of PR bin/38493.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Jan 24 10:36:33 2007 UTC (17 years, 11 months ago) by abs
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-revivesa
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
if ioctl(fd, CDIOCPLAYMSF,...) fails, do not warn("ioctl(CDIOREADTOCENTRYS)");

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Dec 27 18:47:20 2006 UTC (18 years ago) by dogcow
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -3 lines
arg might be improperly initialized; fix that.
(also, since we check arg == NULL, s/arg = 0/arg = NULL/.)

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 27 17:55:05 2006 UTC (18 years ago) by alc
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -4 lines
CID-4199: move the test (line != NULL) one line up to check the
return value of strdup()

ok christos@

Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 17 21:47:53 2006 UTC (18 years, 1 month ago) by riz
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +6 -3 lines
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).

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Dec 14 18:15:16 2006 UTC (18 years, 1 month ago) by chuck
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -3 lines
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).

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Oct 22 16:13:23 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -3 lines
remove bogus assertion.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Sep 22 18:20:53 2006 UTC (18 years, 3 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +328 -53 lines
Apply patch from PR bin/34545 sent by Sergey Svishchev to add support
for digital transfer mode, not enabled by default.

To use it: $ cdplay -a /dev/audio (otherwise /dev/sound will be used)
and type "digital" on the interactive mode.

Thank you very much Sergey, it's very useful.

Reviewed and ok by christos@.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Jan 12 18:15:59 2006 UTC (19 years ago) by garbled
Branches: MAIN
CVS tags: chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +16 -14 lines
Applied patch from PR bin/14505  Tested on i386-current.  Fixes inability of
cdplay to properly play a cd immediately following an eject command in
interactive mode.  Patch supplied by Sergey Svishchev.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jan 2 21:29:53 2006 UTC (19 years ago) by garbled
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +26 -7 lines
Add repeat mode to cdplay(1) per PR bin/13970
Applied the second patch in the PR, with minor tweaking, and adjusted
manpage for change.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Jun 2 01:40:10 2005 UTC (19 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -2 lines
appease gcc -Wuninitialized

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Oct 30 17:08:12 2004 UTC (20 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -8 lines
Add (unsigned char) cast to ctype functions

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Sep 10 05:36:00 2004 UTC (20 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -4 lines
use arc4random

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Sep 12 00:39:38 2003 UTC (21 years, 4 months ago) by christos
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -5 lines
eliminate unneeded use of sigcontext.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Jul 14 11:55:56 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
use bounded string op

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jul 14 09:18:22 2003 UTC (21 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +6 -5 lines
use bounded string op as much as possible

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 14:36:50 2003 UTC (21 years, 7 months ago) by tron
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.1: +90 -75 lines
Pull up revision 1.22 (requested by is in ticket #1172):
Fix PR 18444 and a few other corner cases in cdplay.c.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Feb 28 05:48:58 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Remove unused printf argument.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Feb 19 12:55:58 2003 UTC (21 years, 11 months ago) by simonb
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +18 -16 lines
Show the last "track" as the start of the lead-out area instead of a
bogus track number.  Remove a magic number and (slightly) simplify the
TOC entry display function a little.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Jan 30 21:23:57 2003 UTC (21 years, 11 months ago) by is
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +90 -75 lines
Fix PR 18444 and a few other corner cases in cdplay.c.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 13 23:38:54 2002 UTC (22 years, 3 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -3 lines
Pull up revision 1.21 (requested by is in ticket #872):
0 is a valid value for the absolute minute to stop playing. Initialize
to UINT_MAX before scanning, and check for UINT_MAX to detect whether it
was set.
Without this, it is not possible to play the first less than a minute of
a CD using absolute msf addresses.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Sep 28 21:48:35 2002 UTC (22 years, 3 months ago) by is
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -3 lines
0 is a valid value for the absolute minute to stop playing. Initialize
to UINT_MAX before scanning, and check for UINT_MAX to detect whether it
was set.
Without this, it is not possible to play the first less than a minute of
a CD using absolute msf addresses.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jun 11 06:06:18 2002 UTC (22 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4 lines
err/errx/warn/warnx do not need \n at the end

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jan 23 01:09:15 2002 UTC (23 years ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -2 lines
Need <sys/types.h> early on.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Aug 20 13:44:08 2001 UTC (23 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Fix typo.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Aug 20 12:37:21 2001 UTC (23 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
warn() -> warnx() in one place.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 20 11:24:57 2001 UTC (23 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +147 -52 lines
- Implement shuffle play and some other goodies. Mostly from a patch
  submitted by Sergey Svishchev <svs@ropnet.ru> in PR 13682.
- More tidying.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Aug 20 09:50:10 2001 UTC (23 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +378 -425 lines
Cleanup.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 20 08:21:09 2001 UTC (23 years, 5 months ago) by ad
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Use getrawpartition().

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 1 05:04:26 2001 UTC (23 years, 6 months ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +35 -2 lines
Add support for skipping to the previous and next tracks.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 19 23:03:45 2001 UTC (23 years, 11 months ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -4 lines
convert to use getprogname()

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Dec 16 01:36:00 2000 UTC (24 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -19 lines
replace guts of opencd() with call to opendisk(). prevents coredump
when a device with a leading / (e.g, `/dev/cd0') is given, as well as
promotes code reuse ;-)

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 18 01:32:40 2000 UTC (24 years, 3 months ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +3 -5 lines
Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 11 14:46:01 2000 UTC (24 years, 3 months ago) by is
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -5 lines
More format string cleanup by sommerfeld.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 18 16:49:08 2000 UTC (24 years, 4 months ago) by abs
Branches: netbsd-1-5
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -4 lines
Allow a single argument to volume to set both left and right channels
Fix incorrect use of Ar in manpage (noted by jhawk)
Pullup (approved by jhawk)
usr.bin/cdplay/cdplay.1         1.7,1.8
usr.bin/cdplay/cdplay.c         1.9

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 30 10:13:53 2000 UTC (24 years, 4 months ago) by abs
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -4 lines
Allow a single argument to 'volume' to set both channels.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 23 16:30:16 2000 UTC (24 years, 7 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +7 -12 lines
Sync w/ netbsd-1-5-base.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Jun 15 21:07:37 2000 UTC (24 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -8 lines
use play_track() instead of play_blocks() when play whole disk
(because the xfer length field of the PLAY command (0x45) is 2 bytes.
It's too short to play whole disk)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jun 14 13:51:45 2000 UTC (24 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4 lines
Apply patch supplied in PR 8561 from URA Hiroshi: fixes LBA mode display on
little endian machines.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jun 13 13:37:15 2000 UTC (24 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4 lines
Use my proper name.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jan 5 18:15:20 2000 UTC (25 years ago) by ad
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +52 -70 lines
- ntohl() -> be32toh().
- Dispence with some of the idiocy in run().
- Couple of nits.

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:36:48 1999 UTC (25 years ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +42 -20 lines
Pull up to last week's -current.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Nov 26 18:34:58 1999 UTC (25 years, 1 month ago) by msaitoh
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +42 -20 lines
cdplay now uses libedit!

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 21:15:23 1999 UTC (25 years, 4 months ago) by ad
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +71 -69 lines
Some cleanup [Fixes to follow as soon as I get a CD-ROM drive at home]

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jun 5 14:03:32 1999 UTC (25 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +79 -59 lines
KNF

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 5 13:22:00 1999 UTC (25 years, 7 months ago) by ad
Branches: MAIN
'cdplay', a simple utility for playing compact disks with both a command line
and an interactive mode.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>