Alexandre Ratchov
737ca22c4d
bump copyright year
2014-11-15 13:56:12 +01:00
Alexandre Ratchov
a858f81abe
remove __packed, leoth(), and htole()
2014-11-15 13:53:04 +01:00
Alexandre Ratchov
7cbcc30319
- release constraints used to be required in server mode
...
- hardcode the processing chain (it used to be setup dynamically)
- merge simpler processing code from sndiod
- remove -M option, aucat is not a midi tool, sorry.
- remove -t flag (redundant with -q flag)
- remove -w flag (makes sense for server mode only)
- remove -C flag (necessary for full-duplex streams only)
- remove -x flag (xruns already handled by sndiod)
- make "-j off" the default (sndiod already does the job)
- don't limit the number of played/recorded files.
2014-11-15 13:51:02 +01:00
Alexandre Ratchov
a7f38ff59e
fix 1U vs 1
2014-10-12 23:18:33 +02:00
Alexandre Ratchov
c5606fd3f3
dont rely on >> working on signed ints
2014-10-12 23:17:27 +02:00
Alexandre Ratchov
d372b3a580
check audio parameters returned by the audio drivers,
...
and nicely report driver bugs rather than crashing/misbehaving
later if parameters aren't consistent.
2014-10-08 18:47:48 +02:00
Alexandre Ratchov
b20e28a66e
merge from openbsd: typos, use of O_CLOEXEC, _sndio_debug fix
2014-08-19 16:05:29 +02:00
Alexandre Ratchov
91ce28bc54
say xvolkeys exits when X session is terminated
2014-08-10 21:10:53 +02:00
Alexandre Ratchov
de9e614350
rephrase
2014-08-10 21:08:30 +02:00
Alexandre Ratchov
60205a2af7
xvolkeys doesnt use midi anymore
2014-08-10 21:07:10 +02:00
Alexandre Ratchov
4280ad82da
use mixer_incrvol() instead of mixer_setvol()
2014-08-10 19:53:08 +02:00
Alexandre Ratchov
aaa1898b8c
don't forget to set master_found when it's found
2014-08-10 19:37:00 +02:00
Alexandre Ratchov
2edaaf9b22
make mixer_setvol() volume parameter unsigned
2014-08-10 19:25:40 +02:00
Alexandre Ratchov
09f0514c6a
use a master_found flag in case theres no master ctl
2014-08-10 19:23:44 +02:00
Alexandre Ratchov
fa8d95b2fa
make i, n, nfds of the same type
2014-08-10 14:05:58 +02:00
Alexandre Ratchov
5e0dea1ded
remove unused vars, add prototypes
2014-07-17 01:10:21 +02:00
Alexandre Ratchov
f6de087c49
print labels with "#" notation if -n isnt used
2014-07-16 15:24:23 +02:00
Jonathan Armani
51b5187f66
Rename a char* conflicting with devname(3)
2014-07-16 14:45:25 +02:00
Alexandre Ratchov
1894783552
fix warning about master not found
2014-07-16 14:17:55 +02:00
Alexandre Ratchov
3f19a6ece0
switch to the new siomix_open(3) api
2014-07-16 14:10:50 +02:00
Alexandre Ratchov
9764ccaa12
remove unused sysex.h
2014-07-16 12:27:16 +02:00
Alexandre Ratchov
95126d3952
hide debug info
2014-07-16 12:26:21 +02:00
Alexandre Ratchov
da8108f09a
add initial support for audio mixers, disabled by default
...
ok armani@
2014-07-16 12:05:01 +02:00
Alexandre Ratchov
88648d8f9b
unitialize sock->port pointer
2014-06-02 09:43:06 +02:00
Alexandre Ratchov
408318f6ec
log client start only if log_level >= 2
2014-05-15 14:19:15 +02:00
Alexandre Ratchov
dfa5df2eb5
add -I. to build with sndio.h in current dir
2014-05-13 09:38:00 +02:00
Alexandre Ratchov
0e0511c762
for alsa, POLL{IN,OUT} events mean that a block can be read or
...
written (not a byte as unix files expect). Use "tickets" counters that
are reset to hdl->par.round on each POLL{IN,OUT} event. Limit read()
and write() to one block to ensure poll is always called at block
boundaries.
2014-05-05 19:25:15 +02:00
Alexandre Ratchov
0441c58c62
unused function
2014-03-24 06:53:46 +01:00
Alexandre Ratchov
4819480746
fix wrong dev_cycle() comment
2014-03-17 18:48:25 +01:00
Alexandre Ratchov
c95cb04987
dont check dev_cycle() ret val as we check dev state
2014-03-17 18:42:20 +01:00
Alexandre Ratchov
4b820e4de0
after every cycle, check if this was the last cycle in which case the
...
device may be closed and shouldn't be used
2014-03-17 18:38:57 +01:00
Alexandre Ratchov
0594488a66
typo
2014-03-17 18:13:59 +01:00
Alexandre Ratchov
0c70f95bd5
unbreak monitoring mode (was 1 block off)
2014-03-17 18:13:11 +01:00
Alexandre Ratchov
559d953ef6
backout latest
2014-03-17 17:44:47 +01:00
Alexandre Ratchov
d00caaaf96
disable playing and monitoring at the same time and append
...
slots using MODE_MON at the end of the slot list, so that
data to monitor is produced (by other slots) before the
monitoring slot is consuming it
2014-03-17 09:57:41 +01:00
Alexandre Ratchov
e2beb728b4
backout latest
2014-03-10 16:05:30 +01:00
Alexandre Ratchov
f1a77bece8
comment xvolkey lines conditionnaly
2014-03-10 15:56:23 +01:00
Alexandre Ratchov
5fb297f312
unbreak xvolkeys conditional compilation
2014-03-10 15:33:26 +01:00
Alexandre Ratchov
4709dcb282
simplify switch/case
2014-03-10 11:20:45 +01:00
Alexandre Ratchov
5543797422
log the correct file state string
2014-03-07 17:35:05 +01:00
Alexandre Ratchov
af546d3a0f
remove unused "delta" argument from onmove callbacks
2014-03-07 11:21:15 +01:00
Alexandre Ratchov
1049e3fa71
remove unused mmc start/stop/relocate call-backs as they don't
...
make sense for sockets
2014-03-07 11:16:26 +01:00
Alexandre Ratchov
f02fdf0585
add protos
2014-03-07 11:09:28 +01:00
Alexandre Ratchov
e3de5cc112
use 3dB steps
2014-03-07 10:55:10 +01:00
Alexandre Ratchov
55309494c6
unused include
2014-03-06 19:21:30 +01:00
Alexandre Ratchov
e9feeda8a2
nicer debug traces
2014-03-06 16:59:57 +01:00
Alexandre Ratchov
aa1877d6ef
remove unused "autostart" feature
2014-03-05 21:22:05 +01:00
Alexandre Ratchov
15739f2718
add "sndio" keyword to please "man -k"
2014-03-05 21:17:42 +01:00
Alexandre Ratchov
d536b0972d
please gcc
2014-03-05 21:14:57 +01:00
Alexandre Ratchov
2c1feaa186
add missing proto
2014-03-05 21:12:35 +01:00