Alexandre Ratchov
|
2b55c6e659
|
tweak comments
|
2012-11-04 11:36:13 +01:00 |
|
Alexandre Ratchov
|
cd8a3a6075
|
mem_alloc -> xmalloc
|
2012-11-03 18:09:50 +01:00 |
|
Alexandre Ratchov
|
5142109f22
|
make file i/o able to cross fifo bundary
|
2012-11-03 17:30:30 +01:00 |
|
Alexandre Ratchov
|
5fddbed369
|
make abuf structure use bytes
|
2012-11-02 19:05:29 +01:00 |
|
Alexandre Ratchov
|
f2c1c70165
|
restart xfers when we get more tickets
|
2012-11-02 17:26:10 +01:00 |
|
Alexandre Ratchov
|
fc38a92505
|
miofile -> port_mio
|
2012-11-02 15:58:34 +01:00 |
|
Alexandre Ratchov
|
8bdc288d6b
|
fix leak: free s->mix.{decbuf,resampbuf}
|
2012-11-02 14:33:28 +01:00 |
|
Alexandre Ratchov
|
fe60df1e1f
|
remove unused #includes
|
2012-11-02 14:21:43 +01:00 |
|
Alexandre Ratchov
|
285549a2fb
|
check that we run dev_cycle at block boundary
|
2012-11-02 14:15:24 +01:00 |
|
Alexandre Ratchov
|
22b132cf3a
|
inline dev_sio_{read,write} since they are called only once
|
2012-11-02 13:39:06 +01:00 |
|
Alexandre Ratchov
|
532e76198c
|
in siofile, use struct dev directly
|
2012-11-02 13:19:35 +01:00 |
|
Alexandre Ratchov
|
d0d0d0ee32
|
s/state/cstate
|
2012-11-02 12:48:50 +01:00 |
|
Alexandre Ratchov
|
a9dad9889f
|
rename STATE_xxx to SIOFILE_xxx
|
2012-11-02 12:48:10 +01:00 |
|
Alexandre Ratchov
|
e22f44cdfa
|
move siofile structure into struct dev
|
2012-11-02 12:43:43 +01:00 |
|
Alexandre Ratchov
|
26bf90b89d
|
use gnu autoconf style HAVE_XXX macros
|
2012-10-29 18:08:36 +01:00 |
|
Alexandre Ratchov
|
03e8e6c99c
|
dont panic on rec hw xruns
|
2012-10-29 15:33:55 +01:00 |
|
Alexandre Ratchov
|
0b0ca8995d
|
tighter boundary checks
|
2012-10-29 15:32:51 +01:00 |
|
Alexandre Ratchov
|
766895ba25
|
use @user@ to set SNDIO_USER
|
2012-10-29 14:20:45 +01:00 |
|
Alexandre Ratchov
|
d2102db943
|
free() slot conversion & resampling buffers
|
2012-10-29 14:18:48 +01:00 |
|
Alexandre Ratchov
|
b97efa105d
|
arpa/net.h is not needed
|
2012-10-26 16:51:09 +02:00 |
|
Alexandre Ratchov
|
52d941c80b
|
include arpa/inet.h
|
2012-10-26 16:41:36 +02:00 |
|
Alexandre Ratchov
|
ab4a96fb39
|
fix signedness warnings
|
2012-10-24 14:53:37 +02:00 |
|
Alexandre Ratchov
|
ea0d66a62d
|
add explicit flow control in the protocol and use it for both midi and audio
|
2012-10-24 12:45:13 +02:00 |
|
Alexandre Ratchov
|
708d668654
|
add frames vs bytes arithmetic in assert
|
2012-10-20 09:52:44 +02:00 |
|
Alexandre Ratchov
|
10bd2bb48a
|
panic() if read buffer overruns
|
2012-10-16 09:47:48 +02:00 |
|
Alexandre Ratchov
|
c3b7829b02
|
better debug traces
|
2012-10-16 09:45:53 +02:00 |
|
Alexandre Ratchov
|
e7b81ffcd0
|
free buffers in dev_close(), delete midi port in dev_del()
|
2012-10-15 18:53:38 +02:00 |
|
Alexandre Ratchov
|
3edbce0c18
|
fix memory leaks
|
2012-10-15 18:43:34 +02:00 |
|
Alexandre Ratchov
|
61c00bcef2
|
close the device only if it's opened
|
2012-10-15 18:19:07 +02:00 |
|
Alexandre Ratchov
|
cf80edff3e
|
check for missed tick after record cycle completion
|
2012-10-08 23:36:29 +02:00 |
|
Alexandre Ratchov
|
e1a4e8daba
|
remove sndiod links before installing
|
2012-10-08 23:19:03 +02:00 |
|
Alexandre Ratchov
|
792b22dc90
|
log slot details only if its allocated
|
2012-10-08 18:26:44 +02:00 |
|
Alexandre Ratchov
|
a525ed859b
|
unbreak volume calculation
|
2012-10-08 17:46:48 +02:00 |
|
Alexandre Ratchov
|
857707b227
|
allow sndio anonymouse uid to be changed; dont check its home directory
|
2012-10-07 15:55:52 +02:00 |
|
Alexandre Ratchov
|
bca3235a53
|
dont try to decode device input in monitoring cycles
|
2012-10-07 13:46:51 +02:00 |
|
Alexandre Ratchov
|
f29564da69
|
better xmalloc from midish
|
2012-10-06 14:18:49 +02:00 |
|
Alexandre Ratchov
|
258123a17c
|
use a local variable to store volume
|
2012-10-06 12:27:03 +02:00 |
|
Alexandre Ratchov
|
ce83ee0567
|
add missing compat includes
|
2012-10-06 12:24:03 +02:00 |
|
Alexandre Ratchov
|
2b5ee784cb
|
backout last
|
2012-10-05 17:59:32 +02:00 |
|
Alexandre Ratchov
|
283aab28b0
|
fix msb usage in aparams_native()
|
2012-10-05 17:58:11 +02:00 |
|
Alexandre Ratchov
|
03907f98dc
|
more libsndio consistency checks
|
2012-10-05 16:04:45 +02:00 |
|
Alexandre Ratchov
|
753faf3d11
|
check consistency of libsndio
|
2012-10-05 14:30:56 +02:00 |
|
Alexandre Ratchov
|
9f7e689a0a
|
Remove deadcode. Calculate volume weights for play stream only.
Current position for rec-only devices is zero.
|
2012-10-05 14:30:29 +02:00 |
|
Alexandre Ratchov
|
7709b5d017
|
style
|
2012-10-05 14:24:38 +02:00 |
|
Alexandre Ratchov
|
5136ef4aad
|
trim spaces at end of lines
|
2012-10-03 15:41:56 +02:00 |
|
Alexandre Ratchov
|
832cb8bbe7
|
Fix midi output "ownership". Check if clockticks are out of bounds to
detect bogus libsndio backends. Use a midithru for device control.
|
2012-09-26 00:07:28 +02:00 |
|
Alexandre Ratchov
|
3e3d663d33
|
use (s - d->slot) a midi channel
|
2012-09-05 01:17:41 +02:00 |
|
Alexandre Ratchov
|
84d21ff8c2
|
properly count file descriptors
|
2012-09-05 00:50:42 +02:00 |
|
Alexandre Ratchov
|
526f2d2b92
|
upon connection copy the maxweight parameter from the opt structure
|
2012-09-04 16:54:45 +02:00 |
|
Alexandre Ratchov
|
41b3188fd4
|
move data outside dsp states, generate silence with enc_sil_do
|
2012-09-04 12:48:45 +02:00 |
|
Alexandre Ratchov
|
b4b6aa1844
|
remove XXX in constant names
|
2012-09-04 12:48:01 +02:00 |
|
Alexandre Ratchov
|
ff73404bb6
|
re-enable timer
|
2012-09-04 10:03:22 +02:00 |
|
Alexandre Ratchov
|
b77718fd0b
|
simplify manual, remove -x option
|
2012-09-03 19:59:35 +02:00 |
|
Alexandre Ratchov
|
0a0b1c0b20
|
move aparams.c contents in dsp.c
|
2012-09-03 13:20:41 +02:00 |
|
Alexandre Ratchov
|
f1c34efede
|
style
|
2012-09-03 10:21:12 +02:00 |
|
Alexandre Ratchov
|
06920b56d9
|
remove aparams_{eq,copy}, nicer log messages
|
2012-09-03 10:14:23 +02:00 |
|
Alexandre Ratchov
|
6ce349176e
|
add new sndiod
|
2012-09-03 00:13:30 +02:00 |
|