summaryrefslogtreecommitdiff
path: root/usr.bin/cdio
AgeCommit message (Collapse)Author
2013-03-07fix atrocious code, do socket -> FILE* conversion correctly, with properMarc Espie
error handling. okay millert@, otto@
2011-07-09Document default write speed of tao subcommand.Stefan Sperling
2011-06-26no mcdTed Unangst
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
for chars.
2010-09-19more wacky macro fixing;Jason McIntyre
2010-07-26- fix a spacing issue in SYNOPSISJason McIntyre
- occurence -> occurrence
2010-03-01Add printing of current profile and feature information to 'info'Kenneth R Westerback
command with -v. Make a second -v cause printing of raw feature data and a full list of profiles. A few minor tweaks to the feature bitmap handling. Helps in debugging media problems in cdio. Suggestions from fgsch@, man page fixes from jmc@ as usual. ok beck@ deraadt@
2009-12-04Do not write 16bit values directly to odd addresses - strict alignmentClaudio Jeker
architectures don't like that. Makes cd blanking on sparc64 possible. OK deraadt@, krw@, jasper@
2009-06-09try to get "play" right; help/ok naddyJason McIntyre
2009-06-03Synchronize man page and help output.Christian Weisgerber
From a least of details by sobrado@; input by jmc@ who still isn't happy.
2009-04-10Explain the AUDIODEVICE env. variable similarly to how sio_open(3) does.Alexandre Ratchov
discussed with jmc@
2009-04-10don't use the AUDIODEVICE env. variable because sio_open(3) alreadyAlexandre Ratchov
does it. From Anathae Townsend <atownsend(at)nucleus.com>, thanks!
2009-02-07Restore the original help output: capitalize the characters thatChristian Weisgerber
are required to uniquely identify a command. Three characters are required for the cdplay and cdrip commands. ok krw@
2008-12-28set the buffer size using the ``appbufsz'' parameter ofAlexandre Ratchov
sio_setpar(3). Allows cdio to be used with aucat(1) whatever the buffer size used by aucat is. ok jakemsr
2008-12-11don't try to sio_close a NULL sio_hdl. stops cdio from segfaultingJacob Meuser
when /dev/audio is busy or AUDIODEVICE is not set correctly. commit it! ratchov@
2008-11-29sndio for cdio (only for the "cdplay" command)Jacob Meuser
with a hint from ratchov@ ok av@
2008-10-29no need to warn about using the default device; Thomas PfaffTheo de Raadt
2008-08-30use a bitmap to store the features. simplify the code a bit and allow forFederico G. Schwindt
future work. ok av@ a similar diff.
2008-08-13Old drives (reported Giovanni Bechis <bigionews@snb.it>) don't report CD-RWav
write feature. Add additional check for media type before blanking. The patch fixes problem for Giovanni. ok fgsch
2008-08-08o use definitions from cd.hFederico G. Schwindt
o remove unused function prototype
2008-07-23we really need unsigned in arithmetic operations.av
comments by fgsch
2008-06-30set speed for writing tracks in TAO.av
ok and tweaks by fgsch manual page by jmc
2008-06-24clarify tao's -a option; ok av fgschJason McIntyre
2008-06-23new sentence, new line;Jason McIntyre
2008-06-22Automatically distinguish between CD-DA track and WAVE audio file writing themav
in TAO mode. For WAVE files we should skip header. ok and comments by fgsch
2008-06-11move tao code from main() into its own function before adding features.av
requested and ok fgsch
2008-06-08check whether media supports TAO or blanking.av
It makes error output nicer, e.g.: "The media can't be written in TAO mode" instead of "cdio: Only 0 of the required _N_ blocks available" ok fgsch
2008-06-08add ability to determine media capabilities (what we can do with media).av
ok fgsch
2008-06-06Make open_cd() remember open mode. "blank" doesn't have to check for EPERMav
anymore. idea by jakemsr ok jakemsr ratchov fgsch (with tweaks)
2008-05-30cdio's blank command blanked CD twise. Fixed.av
ok jakemsr krw millert ratchov
2008-05-07correct duration by taking the pre-gap into account; ok by many.Federico G. Schwindt
2008-04-30add two missing prototypes.Federico G. Schwindt
2008-04-27o if no argument is passed to cddbinfo, treat it as 0 in order to printFederico G. Schwindt
the list in case of multiple/inexact matches o if the argument to cddb is invalid, do not exit, just print and error and ignore the command espie@ ok.
2007-11-12make TOC greppable;Jason McIntyre
2007-09-10Make sure we don't skip the code which sends the QUIT command to the CDDBChad Loder
server and validates the returned track names. Unreachable code spotted by lint. OK krw@, deraadt@, espie@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-02exit when /dev/audio can't be opened.Jacob Meuser
from Alexey Vatchenko <av@bsdua.org> ok theo
2007-07-31make rip code work like mmc code for how it does progress reports (useTheo de Raadt
a timer, so that stderr does not get splattered); tested by xsa and others
2007-07-22lexicographically sorts the list of commandsIgor Sobrado
ok jmc@
2007-07-20- document the "play" default a little more clearlyJason McIntyre
- document the difference between "play" and "cdplay" more clearly ok mjc
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29fix some list items; from andresJason McIntyre
2007-05-29reorder code so that the wave header gets the size of the current trackMichael Coulter
instead of the previous track. Alexey Vatchenko agrees.
2007-05-28the device fd is global. no need to pass it between functions.Michael Coulter
2007-05-27more stuff needed to make sparc64 work. what else is still busted?Theo de Raadt
2007-05-26work around stupid trust of the namespace; millert please look at the ↵Theo de Raadt
problem on macppc
2007-05-26cdrip and cdplay commands from Alexey VatchenkoMichael Coulter
incorporating some manpage suggestions from jmc@
2007-05-01use strtonum; ok millert@Jason Dixon
2007-03-26fix wording for `replay'; from AndrAcsJason McIntyre
2007-03-18/dev/rcd0d -> /dev/rcd0c; from AndrAcsJason McIntyre