summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/sock.c
AgeCommit message (Expand)Author
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
2022-04-29Add sio_flush(3) function to stop playback immediatelyAlexandre Ratchov
2021-11-01Stop binding audio devices exposed by sndiod to physical devicesAlexandre Ratchov
2021-03-03sndiod: Move MTC/MMC state to its own global structureAlexandre Ratchov
2021-03-03sndiod: Move MIDI control endpoint to opt structureAlexandre Ratchov
2021-03-03sndiod: Move controls out of the device structureAlexandre Ratchov
2021-01-29Make audio clients use struct opt to reach the deviceAlexandre Ratchov
2021-01-29Make control clients use struct opt to reach the deviceAlexandre Ratchov
2021-01-29Rename ctlslot->mask to ctlslot->self to match the rest of the codeAlexandre Ratchov
2021-01-29Move the control client state out of the device structureAlexandre Ratchov
2021-01-29Move the audio clients state out of the device structureAlexandre Ratchov
2021-01-28Dont attempt to drain disconnected clientsAlexandre Ratchov
2020-04-26Bypass authentication and create no session for rootAlexandre Ratchov
2020-04-25Get a reference to the device when "snd/N" MIDI ports are openedAlexandre 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
2019-07-12Add affinity between the program and its mixer control.Alexandre Ratchov
2019-06-29Check if syscalls return -1 instead of any negative or non-zero value.Alexandre 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-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-01-10Simplify bounds checking of client numbers of channels and rate. FromAlexandre Ratchov
2017-07-20Add comments to explain correct code that might look wrong.Alexandre Ratchov
2016-10-27Fix many typos in comments, from Michael W. Bombardieri <mb at ii.net>Alexandre Ratchov
2016-03-23Remove unused arguments of dev_adjpar(), getbasepath() and allAlexandre Ratchov
2016-01-08Make code fit in 80 columns, remove trailing spaces & tabs.Alexandre Ratchov
2015-12-07reset the slowaccept flag in sock_close()Alexandre Ratchov
2015-02-16Check if slot is NULL, and if so, drop the connection. For now slotAlexandre Ratchov
2014-11-21Don't forget to transmit the xrun attribute in GETPAR messages. FoundAlexandre Ratchov
2014-06-02fix uninitialized sock->port variable, causing crashes in certainAlexandre Ratchov
2014-03-07remove unused "delta" argument from onmove callbacksAlexandre Ratchov
2014-03-07remove unused mmc start/stop/relocate call-backs as they don'tAlexandre Ratchov
2014-03-05Check that socket is writable before attempting to write dataAlexandre Ratchov
2014-02-08use the correct integer width in calls to AMSG_ISSET()Alexandre Ratchov
2013-12-31round client block size to nearest possbleAlexandre Ratchov
2013-11-18add missing prototypesAlexandre Ratchov
2013-05-05Initialize channel ranges of new slots to full sub-device channels.Alexandre Ratchov
2012-12-06set port = NULL for new connctions, fixes crashesAlexandre Ratchov
2012-12-01remove misleading XXXs and TODOsAlexandre Ratchov
2012-11-30For MIDI ports, use the same open/close logic as for audio devices:Alexandre Ratchov
2012-11-30Process incoming MIDI data on the fly rather than using anAlexandre Ratchov
2012-11-23Remplace aucat server by a new sndiod daemon aimed to be simplerAlexandre Ratchov