1
0
mirror of https://github.com/ericonr/sndio.git synced 2024-02-18 04:45:21 -06:00
Commit Graph

728 Commits

Author SHA1 Message Date
Alexandre Ratchov
6649be2722 print caps on stdout 2014-11-18 09:50:49 +01:00
Alexandre Ratchov
8df61a19c9 fix err msg, nicer function names 2014-11-18 09:49:35 +01:00
Alexandre Ratchov
ea3d3d22c0 remove sio_ prefix from non-sndio functions 2014-11-18 09:45:31 +01:00
Alexandre Ratchov
559493ae8c comments 2014-11-18 09:43:30 +01:00
Alexandre Ratchov
6c98ca1131 remove unused casts 2014-11-18 09:43:12 +01:00
Alexandre Ratchov
6982c0e823 remove unused casts 2014-11-18 09:35:21 +01:00
Alexandre Ratchov
fcc7acfe65 unused str() macro 2014-11-17 08:24:43 +01:00
Alexandre Ratchov
22013bd23a use static functions 2014-11-17 08:23:42 +01:00
Alexandre Ratchov
af4e943293 use sndiod's utils.c 2014-11-17 08:19:16 +01:00
Alexandre Ratchov
c80a3fc1ff better error message 2014-11-17 08:18:36 +01:00
Alexandre Ratchov
fab9d738ac all counters are signed ints 2014-11-17 08:08:10 +01:00
Alexandre Ratchov
4e01a1289d remove -z from usage 2014-11-17 07:55:50 +01:00
Alexandre Ratchov
68aeafc379 remove forgotten conf.h file 2014-11-17 07:49:16 +01:00
Alexandre Ratchov
850121fb2c set file bufsz to device bufsz 2014-11-17 07:46:09 +01:00
Alexandre Ratchov
0639edb852 set default device bufsz to 200ms 2014-11-17 07:43:38 +01:00
Alexandre Ratchov
cc1c9a5c71 dont set block size 2014-11-17 07:38:00 +01:00
Alexandre Ratchov
c075b80574 document -b, remove -z 2014-11-17 07:36:28 +01:00
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