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

367 Commits

Author SHA1 Message Date
Alexandre Ratchov
141833dae9 enc/dec buffer size is one stream block, not one device block 2013-02-26 12:18:41 +01:00
Alexandre Ratchov
07bb2c0c95 subdevice -> sub-device 2013-01-06 19:14:55 +01:00
Alexandre Ratchov
ffe27f434f add watchdog timeout for bogus devices 2013-01-05 23:21:36 +01:00
Alexandre Ratchov
55c6148e0b don't call revents on zombified files 2013-01-05 16:21:48 +01:00
Alexandre Ratchov
4a42e90267 sort makefile 2012-12-22 13:06:25 +01:00
Alexandre Ratchov
51f6a56e67 use AUDIODEVICE env variable 2012-12-20 20:14:53 +01:00
Alexandre Ratchov
470c3b98b0 style 2012-12-20 20:07:31 +01:00
Alexandre Ratchov
4cf1ce7f8e fix warning & bugs in error code paths 2012-12-20 19:59:11 +01:00
Alexandre Ratchov
b7a2c05bf9 add sndioctl to control the volume 2012-12-20 19:38:22 +01:00
Alexandre Ratchov
1301c52ca1 readjust midi flow control after consuming input data 2012-12-20 17:15:00 +01:00
Alexandre Ratchov
68ae9199f6 simple phrasing, from jmc 2012-12-07 09:02:49 +01:00
Alexandre Ratchov
eae4dde1d8 don't include defs.h where not needed 2012-12-07 09:00:45 +01:00
Alexandre Ratchov
a17e696708 move log_level to utils.c 2012-12-06 15:35:17 +01:00
Alexandre Ratchov
9e83398293 set port = NULL for new connctions, fixes crashes
reported by brad
2012-12-06 09:12:00 +01:00
Alexandre Ratchov
41372817a0 hide server bits 2012-12-03 17:37:08 +01:00
Alexandre Ratchov
eff8e25982 remove misleading XXXs and TODOs 2012-12-01 13:13:57 +01:00
Alexandre Ratchov
b3f82753f8 parse mode strings strictly 2012-12-01 13:07:01 +01:00
Alexandre Ratchov
7a76f322eb drain midi port output buffer before closing it ensuring the last
few bytes are not lost
2012-11-30 23:27:36 +01:00
Alexandre Ratchov
0057424c2b use the hold flag for midi ports as well 2012-11-30 22:02:48 +01:00
Alexandre Ratchov
49190bbba1 For MIDI ports, use the same open/close logic as for audio devices:
drop clients using it when the port is closed (eg. umidi disconnected)
and try to reopen it whenever a new client connects.
2012-11-30 21:51:46 +01:00
Alexandre Ratchov
ccdecf59c4 When the audio device is closed, mark it as closed before
dropping connections otherwise clients may try to drain their
buffer and would attempt to reopen the device
2012-11-30 21:49:52 +01:00
Alexandre Ratchov
2834345924 make DEV_xxx contiguous 2012-11-30 21:49:29 +01:00
Alexandre Ratchov
6cb370c626 fix midithru subscriptions 2012-11-29 18:56:59 +01:00
Alexandre Ratchov
2fd21c86fb space required between macro args and punctuation; from jmc@ 2012-11-23 10:00:38 +01:00
Alexandre Ratchov
1081d7208a add a dummy -M for compatibility with aucat 2012-11-23 08:25:58 +01:00
Alexandre Ratchov
32bd2a8953 use IPV6_V6ONLY 2012-11-19 00:13:19 +01:00
Alexandre Ratchov
2d63cee93c factor hw parameters setup 2012-11-13 15:08:28 +01:00
Alexandre Ratchov
e77cefa34a pick a know format, if the requested one is not supported 2012-11-12 19:41:46 +01:00
Alexandre Ratchov
7027fdf46c dont call revents twice 2012-11-12 18:05:55 +01:00
Alexandre Ratchov
7eb795bc19 connect sndiod to the install target 2012-11-12 09:31:49 +01:00
Alexandre Ratchov
d899b0d484 remove few Xr's 2012-11-11 18:58:38 +01:00
Alexandre Ratchov
57322d54cf add/fix yet more comments 2012-11-11 17:51:27 +01:00
Alexandre Ratchov
f6df08e0c3 add/fix more comments 2012-11-11 17:47:48 +01:00
Alexandre Ratchov
832a0a5a1f add/fix comments 2012-11-11 17:46:21 +01:00
Alexandre Ratchov
e43d03b3df tweak comment 2012-11-11 10:49:03 +01:00
Alexandre Ratchov
c875716078 ignored clock delta -> log_level 2 2012-11-11 10:42:47 +01:00
Alexandre Ratchov
f33c7044ea don't build messages at the end of sock_in(), since the socket
may be destroyed at this stage
2012-11-11 03:18:23 +01:00
Alexandre Ratchov
dc522e703f cleanup debug traces 2012-11-11 01:46:38 +01:00
Alexandre Ratchov
0203d4d00b remove dsp debug traces 2012-11-11 01:01:50 +01:00
Alexandre Ratchov
40cf11d689 simplify xmalloc & friends 2012-11-11 00:47:00 +01:00
Alexandre Ratchov
ca6e1699f3 set default volume to -3dB 2012-11-11 00:26:33 +01:00
Alexandre Ratchov
40174ce175 dev_mix_setmaster -> dev_mix_adjvol 2012-11-11 00:21:34 +01:00
Alexandre Ratchov
12a200c18a readjust volumes when a stream is detached 2012-11-11 00:20:39 +01:00
Alexandre Ratchov
b04a783fd8 free in slot_detach() memory allocated in slot_attach() 2012-11-11 00:01:52 +01:00
Alexandre Ratchov
b55ceed719 better debug traces 2012-11-10 22:58:47 +01:00
Alexandre Ratchov
1ff4add221 get a reference to the device in pure mtc mode, ok armani@ 2012-11-10 22:58:29 +01:00
Alexandre Ratchov
6fa4f57d50 dont write past buffer end, ok armani@ 2012-11-10 22:57:49 +01:00
Alexandre Ratchov
bf045ccb03 readd back removed options by mistake 2012-11-10 16:37:03 +01:00
Alexandre Ratchov
c69d0ebe10 -mmon uses -C args as channels to snoop 2012-11-10 16:28:24 +01:00
Alexandre Ratchov
063c31e365 reenable server capability in aucat 2012-11-10 16:20:32 +01:00