summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod
AgeCommit message (Expand)Author
2019-08-29Split dev_close() routine in two parts.Alexandre Ratchov
2019-08-29Split dev_open() in two parts.Alexandre Ratchov
2019-08-29Make debug printf in port_open() look as othersAlexandre Ratchov
2019-08-29Fix wrong comment about MIDI port hold flagAlexandre Ratchov
2019-08-29Move code de disconnect all MIDI clients to its own routine.Alexandre Ratchov
2019-08-29Move code de disconnect all audio clients to its own routine.Alexandre Ratchov
2019-08-29Uniformize device-specific debug printfsAlexandre Ratchov
2019-07-2816 channels is not enough to handle all common uaudio(4) devices, soAlexandre Ratchov
2019-07-12Add affinity between the program and its mixer control.Alexandre Ratchov
2019-07-10Remove few level 3 debug printfs related to slot allocation.Alexandre Ratchov
2019-07-10Replace the "umap" bitmap by a simple table of slot pointers.Alexandre Ratchov
2019-07-10Swap "if" and "else" code blocks in slot_new() to improve readability.Alexandre Ratchov
2019-07-10Slot name can't be empty. So, no need to check if it is empty.Alexandre Ratchov
2019-07-10Use NULL instead of 0 where a pointer is expected.Alexandre Ratchov
2019-07-05Fix spacing and comments, no code change.Alexandre Ratchov
2019-06-29Check if syscalls return -1 instead of any negative or non-zero value.Alexandre Ratchov
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-16Ignore the frame cents component in MMC relocate message.Alexandre Ratchov
2019-06-16Say in comment why we use 1/2400 second as MTC time unit.Alexandre Ratchov
2019-05-10Backout latest, commited by mistake.Alexandre Ratchov
2019-05-10Use the correct length for MIDI common messages.Alexandre Ratchov
2019-05-10Don't try to send to device helper process if it's terminated.Alexandre Ratchov
2019-03-28Don't send MIDI-related flow control messages until at leastAlexandre Ratchov
2018-09-18i forgot to sync sndiod with aucat/dsp.c rev 1.12miko
2018-08-08Use unveil(2) in the helper process to disallow access to other filesAlexandre Ratchov
2018-06-26Initialize the slot->skip counter in slot_start() instead ofAlexandre Ratchov
2018-06-26Remove redundant slot->tstate variable.Alexandre Ratchov
2018-06-26Remove useless check if s->ops == NULL from slot_setvol().Alexandre Ratchov
2018-06-26No need to initialize slot->mix.weight as it's recalculated andAlexandre Ratchov
2018-06-26Move slot-related debug printfs from sock_hello() to slot_new().Alexandre Ratchov
2018-06-26Convert all the slot_xxx() routines to use the number of channelsAlexandre Ratchov
2018-06-26Remove {mix,sub}.slot_cmin fields from the slot structure, as the sameAlexandre Ratchov
2018-06-26Remove dev_{cmin,cmax} from the slot structure as the same informationAlexandre Ratchov
2018-06-26Remove slot->dup which is a copy of opt->dup, and just use the latterAlexandre Ratchov
2018-06-26Remove slot->maxweight, because it's a copy of opt->maxweight. JustAlexandre Ratchov
2018-06-26Don't set slot's {slot,dev}_cmin parameters in slot_setpar() routine,Alexandre Ratchov
2018-06-26Initialize slot with parameters from the opt struct.Alexandre Ratchov
2018-06-26Move opt pointer from the sock to the slot struct.Alexandre Ratchov
2018-06-26Replace the gloal opt list with per-device lists.Alexandre Ratchov
2018-06-26Move slot buffer allocations in their own routines.Alexandre Ratchov
2018-06-26Factor common code of slot_stop().Alexandre Ratchov
2018-06-26Remove handling of unreachable state in slot_stop().Alexandre Ratchov
2018-06-08Greatly simplify the resampling routine using the fact it processesAlexandre Ratchov
2018-06-08The conversion chain processes exactly one block, so no need toAlexandre Ratchov
2018-01-10Simplify bounds checking of client numbers of channels and rate. FromAlexandre Ratchov
2017-11-23Fix slot leak occuring when the device mode doesn't matchAlexandre Ratchov
2017-11-20Free memory in the error code-path, when we run out of descriptorsAlexandre Ratchov
2017-11-07prefill with silence the buffer where cmap_copy() stores samplesAlexandre Ratchov
2017-11-03Prefill client rec buffer with silence. This is necessary becauseAlexandre Ratchov
2017-07-20Add comments to explain correct code that might look wrong.Alexandre Ratchov