Commit Graph

666 Commits

Author SHA1 Message Date
Alexandre Ratchov 6ddedf6c9f remove unused AUCAT_COOKIE environment variable 2015-10-01 08:50:13 +02:00
Alexandre Ratchov 7062d226ac remove useless quoting and fix typos, from schwarze@ 2015-10-01 08:49:47 +02:00
Alexandre Ratchov ed060a659e Add --with-libbsd to use libbsd for strlcpy, strlcat and strtonum. From
Peter Piwowarski <peterjpiwowarski at gmail.com>. Thanks.
2015-09-09 19:32:30 +02:00
Alexandre Ratchov f2b6fd9f4b s/xfree/free in comments 2015-09-05 13:18:04 +02:00
Alexandre Ratchov ebed8a554c leave -'s in literals 2015-09-02 08:28:10 +02:00
Alexandre Ratchov ad93cbcd12 fix example (>/dev/null required to drop output) 2015-08-30 20:14:58 +02:00
Alexandre Ratchov e0489782f6 scape "-" with backslash, from Peter Piwowarski <peterjpiwowarski at
gmail.com>
2015-08-30 19:36:58 +02:00
Alexandre Ratchov 7bd2439992 unbreak configure script: missing xvolkeys and sndioctl 2015-08-30 11:39:09 +02:00
Alexandre Ratchov a162cfd9e6 remove mixer api files 2015-08-28 09:03:49 +02:00
Alexandre Ratchov 1e958d6853 move the mixer api to a dedicated "mixer" branch 2015-08-28 08:59:59 +02:00
Alexandre Ratchov e8007feb00 move the mixer api to a dedicated "mixer" branch 2015-08-28 08:57:47 +02:00
Alexandre Ratchov 0ab68bae61 comment that -1 means infinite timeout 2015-08-27 09:40:50 +02:00
Alexandre Ratchov 9c5df51422 man page: we use devices, not midi ports 2015-08-26 13:01:50 +02:00
Alexandre Ratchov eb8224b11c update labels dynamically 2015-08-26 12:49:39 +02:00
Alexandre Ratchov 293133ebdf copy label name in dev_add() 2015-08-26 12:22:06 +02:00
Alexandre Ratchov 9ff8e621d0 typos in comments and strings 2015-08-26 10:27:22 +02:00
Alexandre Ratchov 366e464abc add Description in init.d startup script. From Peter
Piwowarski <peterjpiwowarski at gmail.com>
2015-08-25 15:24:53 +02:00
Alexandre Ratchov 51f6116e12 Hide symbols provided by bsd-compat functions by prefixing them
by _sndio_.
2015-08-25 15:02:02 +02:00
Alexandre Ratchov c96282f412 Use DEAMON_OPTS, defined in /etc/default/sndiod, in the init.d
script. Without this, /etc/default/sndiod was ignored. From
Peter Piwowarski <peterjpiwowarski at gmail.com>, thanks!
2015-08-25 10:56:46 +02:00
Alexandre Ratchov fd7c03518f use lseek to fill with silence 2015-08-23 17:03:02 +02:00
Alexandre Ratchov dbebd9982f Fix typos, from Peter Piwowarski <peterjpiwowarski at gmail.com> 2015-08-13 17:37:45 +02:00
Alexandre Ratchov 30c199e808 Don't call poll(2) with few millisecond time-out argument when -1
could be used. Avoids syscalls when the daemon is not being used.
2015-08-11 19:49:07 +02:00
Alexandre Ratchov 29516de2c3 Use "Ev" macro for AUCAT_COOKIE environment variable. From Michael
Reed <m.reed at mykolab.com>. Thanks.
2015-08-01 12:31:36 +02:00
Alexandre Ratchov 92995a97e0 delete timeout on close, log disconnects 2015-07-31 17:46:15 +02:00
Alexandre Ratchov 4063b8217c crank watchdog timeout to 4 seconds 2015-07-31 17:44:04 +02:00
Alexandre Ratchov 5edf525314 switch to now AUDIO_GETPOS interface 2015-07-31 17:35:54 +02:00
Alexandre Ratchov 4ca9db857c Process polled files in two steps: first files that need immediate
handling, which would block.
2015-07-20 12:09:53 +02:00
Alexandre Ratchov 2d77ef48f3 rename nfds to max_nfds, no object change 2015-07-17 11:51:31 +02:00
Alexandre Ratchov 9624f2332e Simplify debug info: log poll descriptors on a single line, record
timestamps only when they are needed.
2015-07-17 11:37:24 +02:00
Alexandre Ratchov 5c54742a5d Stop using interval timers (not inherited by fork(2), obsolete in
newer posix releases), use the poll(2) timeout parameter instead.
Fixes hangs during clean-up after the audio device is disconnected
or an unrecoverable error is detected. Suggested by and discussed
with millert@.
2015-07-17 10:16:59 +02:00
Alexandre Ratchov f4aff492a8 use single .so.min.maj link for .so 2015-07-15 10:37:46 +02:00
Alexandre Ratchov 07ee111086 readd soname with major, needed on linux 2015-07-09 17:13:01 +02:00
Alexandre Ratchov 72e727b865 drop soname 2015-07-08 17:59:05 +02:00
Alexandre Ratchov 3fb646dbbe remove unused includes 2015-06-04 07:11:40 +02:00
Alexandre Ratchov 8468b9f0a0 rename grp->func 2015-06-04 06:12:38 +02:00
Alexandre Ratchov fc071998df call slot_stop() after draining 2015-05-16 21:23:07 +02:00
Alexandre Ratchov 33ad1a504d fix missing brace mistake, from jsg@ 2015-05-05 14:45:55 +02:00
Alexandre Ratchov 04d8fe25dd Fix clipping bug in float to fixed point conversion, causing
audible glitches when samples smaller than the quantification
step are converted.
2015-05-04 14:53:28 +02:00
Alexandre Ratchov 8620da44d1 make default bufsz 7680 (was 7860) 2015-04-24 19:44:06 +02:00
Alexandre Ratchov 3069d5e560 remove unused vars 2015-03-16 17:31:45 +01:00
Alexandre Ratchov 5d0c71336c remove unused var 2015-03-16 17:30:27 +01:00
Alexandre Ratchov 6b0127334d use new master control name 2015-03-16 12:15:26 +01:00
Alexandre Ratchov b3a8f99047 make the label use chan1 as parameter 2015-03-12 08:20:23 +01:00
Alexandre Ratchov 13a3a75dc7 make the label use chan1 as parameter 2015-03-12 08:20:14 +01:00
Alexandre Ratchov a7f3f280be fix the way we move to next list entry 2015-03-06 17:39:20 +01:00
Alexandre Ratchov 40ef765533 fix chan0<->chan1 confusion 2015-03-06 16:13:03 +01:00
Alexandre Ratchov a58ea0effe use better names for sndiod mixer controls 2015-03-06 10:42:04 +01:00
Alexandre Ratchov 0c4e64484d append _in _out to mic/spkr/hp/... only 2015-03-06 10:39:51 +01:00
Alexandre Ratchov 99ca91c6b3 suffix stream names with -in, -out, -rec 2015-03-06 08:53:40 +01:00
Alexandre Ratchov 905c319315 use strings rather than channel numbers 2015-03-05 10:12:34 +01:00