summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-06-02- tweak previousJason McIntyre
- simplify -io descriptions
2008-06-02document latest changes: -d flag is replaced by AUCAT_DEBUGAlexandre Ratchov
environment variable, new -xX options bits from eric, ok jakemsr
2008-06-02currently, we start the device as soon as write() blocks; it's betterAlexandre Ratchov
to continue filling the play buffer until it's full. This way, the play buffer has fewer chances to underrun when the device is started. ok jakemsr
2008-06-02if aucat is suspended, then the kernel continues running the deviceAlexandre Ratchov
(produces silence) and later, once aucat is resumed the kernel starts dropping samples, it will try to drop as many samples as silence was produced. So suspending breaks the aucat process permanently. workaround this by blocking the signals ie disabling suspending of aucat from the tty. The long term solution would be to catch SIGCONT and to stop the device, resync/refill buffers and restart the device. That's really a lot of work... ok jakemsr
2008-06-02allow the user to choose the aucat behaviour when underruns/overrunsAlexandre Ratchov
occur on a per-stream basis, using -Xx flags. There are 3 possible policies: - ignore : ignores underruns/overruns, for instance, this mode could be used for creating simple pipes with utilities; like in your last cdio diff. - sync : insert/discard samples in order to keep all streams in sync, useful for multi-tracker-like apps and/or to sync midi/video/whatever on audio streams (this was the previous behaviour) - error : if overruns/underruns occur, consider it as fatal error and kill the corresponding stream (without disturbing others). Useful, for reliable recordings (and/or debugging aucat itself:). ok jakemsr
2008-06-02(remove -d, second part) use strtonum() instead of sscanf() and inlinedAlexandre Ratchov
checks suggested and ok jakemsr
2008-06-02since underruns/overruns are handled outside devices, remove code thatAlexandre Ratchov
check for xruns in devices. ok jakemsr
2008-06-02(remove -d, first part) replace -d flag by AUCAT_DEBUG environmentAlexandre Ratchov
variable. This eases turning debugging on/off when aucat is started by another program. "i like the idea" jakemsr
2008-06-02Allows any input/output stream to underrun/overrun without disturbingAlexandre Ratchov
other streams. Beside making aucat usable with slow apps (eg. cdio), this change will ease turning aucat into an audio server later if one of the input buffers underruns, then silence is generated in place of the missing samples. Later, as many samples are dropped in order to maintain the stream in sync with the rest if one of the output buffers overruns then newer samples are discarded. Later silence is generated in order to maintain the stream in sync with the rest. ok jakemsr
2008-06-02fix double free which can happen if the last line has no newline;Otto Moerbeek
from Matthew Dempsky; ok ray@ millert@
2008-06-01sort flags; synchronize synopsis and usage; style(9).Igor Sobrado
tweaked by jmc@, thanks! ok jmc@
2008-06-01sort flags; synchronize synopsis and usage.Igor Sobrado
ok jmc@
2008-06-01synchronize synopsis and usage.Igor Sobrado
2008-05-31synchronize usage and synopsis.Igor Sobrado
2008-05-30cdio's blank command blanked CD twise. Fixed.av
ok jakemsr krw millert ratchov
2008-05-30Keyword expansion must not be set if no RCS file is available, for exampleTobias Stoeckmann
a newly added but not yet committed file. Fixes segfault. ok joris
2008-05-30Set up cmdp before first possible call of fatal to avoid NULL pointerTobias Stoeckmann
dereference in logging code. Spotted by Igor Zinovik. ok joris
2008-05-30diff -D support, also a change in diff_internals to properly printTobias Stoeckmann
file name or /dev/null, if file has been removed or added.
2008-05-30Major rework of our cvs diff implementation fixes tons of GNU cvsTobias Stoeckmann
compatibility glitches and bugs which have been spotted by ray@ and Igor Zinovik. ok joris
2008-05-29add a detailed synopsis to mg(1); synchronize with usage.Igor Sobrado
tweaks by jmc@ ok jmc@
2008-05-29try to clearly describe interaction between -CcEeHhRr and -fiou options;Jason McIntyre
written with help from ratchov and jakemsr; ok ratchov
2008-05-29sync synopsis/usage; "usage:" is lowercase.Igor Sobrado
2008-05-28Don't limit ourselfs when it comes to arguments on command line orTobias Stoeckmann
arguments sent by client. ok joris
2008-05-28if aucat is resumed (after suspend), kernel buffers are empty, thus write()Alexandre Ratchov
syscall succedes and consumes aucat buffers until kernel buffers are full. If aucat buffers are smaller than kernel ones, they will underrun, and aucat will terminate, since underruns are not handled yet. This changes is an improvement until SIGCONT handler is implemented. The correct approach is to add a handler for SIGCONT to: call dev_stop(), reset all buffers, bring play and record in sync, fill play buffers and call dev_start(). ok jakemsr
2008-05-26"usage:" is lowercase; synchronize synopsis and usage.Igor Sobrado
2008-05-26signpost encodings and formats a little better;Jason McIntyre
2008-05-26put -q in the right place;Jason McIntyre
2008-05-26add -q option which enables "quiet" operation.Jacob Meuser
ok ratchov@
2008-05-25Fix breakage introduced in rev 1.8 wrt rdisting symlinks. Push theTodd C. Miller
mkstemp() down into recvfile() and use mktemp() for recvlink(). OK okan@
2008-05-25give argument to LIST_END(), don't use variable lenght arrays as lastAlexandre Ratchov
field of structures. from deraadt@
2008-05-24typo.Igor Sobrado
2008-05-24Enclose an informational message in a verbose check.Pierre-Yves Ritschard
From Alexander Hall <alexander@beard.se> ok henning@, ``I suppose so'' deraadt@
2008-05-23various fixes for aucat.1, and sync usage(); ok ratchovJason McIntyre
2008-05-23Properly pass the directory tag of parent directory into new subdirectories.Tobias Stoeckmann
Spotted by and ok joris.
2008-05-23add support for:Alexandre Ratchov
- recording, full-duplex operation - format conversions and resampling on the fly - mixing on the fly of multiple inputs of different formats - up to 16 channels, simplistic "routing" of channel ranges - more linear encodings (in raw and wav files) the old behaviour is fully preserved if none of the new -i and -o options are used. code and fixes from jakemsr@ and eric@, suggestions by others. ok "go ahead" deraadt@
2008-05-22I really hate commiting here, but this was far too good not to.Bob Beck
ok "commit but don't you dare putting my name there" from an anonymous french developer.
2008-05-22Wrong function names in fatal messages fixed.Tobias Stoeckmann
2008-05-22expension -> expansionTobias Stoeckmann
ok joris, xsa (quite some time ago)
2008-05-22fix updating to tags pointing at branch revisions;Joris Vink
from Neels Janosch Hofmeyr and Stefan Sperling
2008-05-22correctly deal with non-zero depths specified in rcsnum_cmp();Joris Vink
from Stefan Sperling
2008-05-22Spacing; Stefan Sperling.Xavier Santolaria
2008-05-22Error messages fixes; Stefan Sperling.Xavier Santolaria
2008-05-21Remove elf2aout and elf2ecoff. They are no longer built since they were onlyMiod Vallat
used by the long defunct OpenBSD/arc and OpenBSD/pmax ports, and nowadays using objcopy or a linker script will perform such conversions if necessary. ok deraadt@ kettenis@
2008-05-19unbreak tree by committing this bit that I missed from:Damien Miller
Fix sending tty modes when stdin is not a tty (bz#1199). Previously we would send the modes corresponding to a zeroed struct termios, whereas we should have been sending an empty list of modes. Based on patch from daniel.ritz AT alcatel.ch; ok dtucker@ markus@
2008-05-19support -l (print fingerprint) in combination with -F (find host) toDamien Miller
search for a host in ~/.ssh/known_hosts and display its fingerprint; ok markus@
2008-05-19Fix sending tty modes when stdin is not a tty (bz#1199). PreviouslyDamien Miller
we would send the modes corresponding to a zeroed struct termios, whereas we should have been sending an empty list of modes. Based on patch from daniel.ritz AT alcatel.ch; ok dtucker@ markus@
2008-05-19unbreak protocol keepalive timeouts bz#1465; ok dtucker@Damien Miller
2008-05-18comment extension announcementDamien Miller
2008-05-17documentation tweaks.Igor Sobrado
ok (some time ago) jmc@
2008-05-17Full support of branches added. We lacked proper support of multipleTobias Stoeckmann
branch entry points in one revision as well as branches which started from other branches. ok joris