Commit Graph

236 Commits

Author SHA1 Message Date
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