summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/dev.c
AgeCommit message (Expand)Author
2020-07-19Don't add server.device knob if there's only one audio deviceAlexandre Ratchov
2020-07-19Fix initial alternate device numberAlexandre Ratchov
2020-06-28Allow switching between alternate devices (-F option) with sndioctl(1)Alexandre Ratchov
2020-06-28Add a new SIOCTL_SEL control type to select one of a predefined set ofAlexandre Ratchov
2020-06-18Don't try to open device that's already openAlexandre Ratchov
2020-06-12On error, drop clients and close the device only if it's still openAlexandre Ratchov
2020-04-24Make sure devices are properly closed in case of an error.Alexandre Ratchov
2020-04-16If available, use hardware "output.level" for volume control.Alexandre Ratchov
2020-04-16Hide controls of unused slots from "mixer" clients.Alexandre Ratchov
2020-04-15Don't forget to notify clients when a control is removedAlexandre Ratchov
2020-04-15Properly log CTL_NONE controlsAlexandre Ratchov
2020-03-31Don't send "control changed" messages when hardware controls are set.Alexandre Ratchov
2020-03-08Don't forget to notify clients when controls list is ready.Alexandre Ratchov
2020-02-26Add API to control audio device parameters exposed by sndiod.Alexandre Ratchov
2020-01-10Unbreak channel duplication (aka -j option).Alexandre Ratchov
2019-09-21Allow switching between devices without disconnecting clients.Alexandre Ratchov
2019-09-19Don't attempt to join/expand nonexistent channels.Alexandre Ratchov
2019-09-19Move device slot convertions setup in its own routine.Alexandre Ratchov
2019-09-19Move device buffer allocation to its own routines.Alexandre Ratchov
2019-08-29Split dev_close() routine in two parts.Alexandre Ratchov
2019-08-29Split dev_open() in two parts.Alexandre 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-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-06-16Ignore the frame cents component in MMC relocate message.Alexandre 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-26Initialize slot with parameters from the opt 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-08The conversion chain processes exactly one block, so no need toAlexandre Ratchov
2017-11-23Fix slot leak occuring when the device mode doesn't matchAlexandre 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-02-15Fix the code supposed to abort when attempting to detach a slot that'sAlexandre Ratchov