summaryrefslogtreecommitdiffstats
path: root/usr.bin/sndiod/dev.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Allow switching between alternate devices (-F option) with sndioctl(1)ratchov2020-06-281-2/+42
* Add a new SIOCTL_SEL control type to select one of a predefined set ofratchov2020-06-281-2/+3
* Don't try to open device that's already openratchov2020-06-181-4/+30
* On error, drop clients and close the device only if it's still openratchov2020-06-121-5/+6
* Make sure devices are properly closed in case of an error.ratchov2020-04-241-19/+3
* If available, use hardware "output.level" for volume control.ratchov2020-04-161-13/+78
* Hide controls of unused slots from "mixer" clients.ratchov2020-04-161-4/+12
* Don't forget to notify clients when a control is removedratchov2020-04-151-4/+6
* Properly log CTL_NONE controlsratchov2020-04-151-1/+4
* Don't send "control changed" messages when hardware controls are set.ratchov2020-03-311-2/+2
* Don't forget to notify clients when controls list is ready.ratchov2020-03-081-1/+13
* Add API to control audio device parameters exposed by sndiod.ratchov2020-02-261-8/+353
* Unbreak channel duplication (aka -j option).ratchov2020-01-101-12/+22
* Allow switching between devices without disconnecting clients.ratchov2019-09-211-3/+72
* Don't attempt to join/expand nonexistent channels.ratchov2019-09-191-20/+17
* Move device slot convertions setup in its own routine.ratchov2019-09-191-21/+46
* Move device buffer allocation to its own routines.ratchov2019-09-191-17/+17
* Split dev_close() routine in two parts.ratchov2019-08-291-3/+13
* Split dev_open() in two parts.ratchov2019-08-291-15/+25
* Move code de disconnect all MIDI clients to its own routine.ratchov2019-08-291-1/+2
* Move code de disconnect all audio clients to its own routine.ratchov2019-08-291-10/+19
* Add affinity between the program and its mixer control.ratchov2019-07-121-3/+15
* Remove few level 3 debug printfs related to slot allocation.ratchov2019-07-101-19/+3
* Replace the "umap" bitmap by a simple table of slot pointers.ratchov2019-07-101-23/+20
* Swap "if" and "else" code blocks in slot_new() to improve readability.ratchov2019-07-101-16/+17
* Slot name can't be empty. So, no need to check if it is empty.ratchov2019-07-101-3/+2
* Use NULL instead of 0 where a pointer is expected.ratchov2019-07-101-2/+2
* Ignore the frame cents component in MMC relocate message.ratchov2019-06-161-3/+2
* Initialize the slot->skip counter in slot_start() instead ofratchov2018-06-261-8/+10
* Remove redundant slot->tstate variable.ratchov2018-06-261-34/+8
* Remove useless check if s->ops == NULL from slot_setvol().ratchov2018-06-261-3/+1
* No need to initialize slot->mix.weight as it's recalculated andratchov2018-06-261-2/+1
* Move slot-related debug printfs from sock_hello() to slot_new().ratchov2018-06-261-1/+13
* Convert all the slot_xxx() routines to use the number of channelsratchov2018-06-261-36/+34
* Remove {mix,sub}.slot_cmin fields from the slot structure, as the sameratchov2018-06-261-17/+13
* Remove dev_{cmin,cmax} from the slot structure as the same informationratchov2018-06-261-9/+9
* Remove slot->dup which is a copy of opt->dup, and just use the latterratchov2018-06-261-4/+3
* Remove slot->maxweight, because it's a copy of opt->maxweight. Justratchov2018-06-261-5/+4
* Initialize slot with parameters from the opt struct.ratchov2018-06-261-12/+28
* Replace the gloal opt list with per-device lists.ratchov2018-06-261-1/+5
* Move slot buffer allocations in their own routines.ratchov2018-06-261-127/+150
* Factor common code of slot_stop().ratchov2018-06-261-17/+21
* Remove handling of unreachable state in slot_stop().ratchov2018-06-261-6/+8
* The conversion chain processes exactly one block, so no need toratchov2018-06-081-95/+84
* Fix slot leak occuring when the device mode doesn't matchratchov2017-11-231-8/+8
* prefill with silence the buffer where cmap_copy() stores samplesratchov2017-11-071-2/+15
* Prefill client rec buffer with silence. This is necessary becauseratchov2017-11-031-1/+5
* Fix the code supposed to abort when attempting to detach a slot that'sratchov2017-02-151-2/+2
* Many typos in comments. From Michael W. Bombardieri. Thanks.ratchov2017-01-031-2/+2
* Set initial mixer slot name to "prog" to make all slots visible inratchov2016-05-251-2/+2