Commit Graph

37 Commits

Author SHA1 Message Date
Alexandre Ratchov 6ad32cca29 Print par.bps instead of par.bits in debug printf()
found by coverity.
2017-07-20 11:08:59 +02:00
Alexandre Ratchov bcb3014206 Fix many typos in comments, from Michael W. Bombardieri <mb at ii.net> 2016-10-27 06:38:21 +02:00
Alexandre Ratchov fd4ff877d4 Don't log blocked read or write. 2016-05-25 12:17:48 +02:00
Alexandre Ratchov 96e51185e0 warn about blocking at log level 3 2016-01-29 12:12:03 +01:00
Alexandre Ratchov e22e6a1b26 fix trailing spaces 2016-01-08 17:24:48 +01:00
Alexandre Ratchov e8007feb00 move the mixer api to a dedicated "mixer" branch 2015-08-28 08:57:47 +02:00
Alexandre Ratchov 92995a97e0 delete timeout on close, log disconnects 2015-07-31 17:46:15 +02:00
Alexandre Ratchov 4063b8217c crank watchdog timeout to 4 seconds 2015-07-31 17:44:04 +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 da8108f09a add initial support for audio mixers, disabled by default
ok armani@
2014-07-16 12:05:01 +02: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 0c70f95bd5 unbreak monitoring mode (was 1 block off) 2014-03-17 18:13:11 +01:00
Alexandre Ratchov b1c417ab04 add prototypes 2013-11-18 17:50:04 +01:00
Alexandre Ratchov ffe27f434f add watchdog timeout for bogus devices 2013-01-05 23:21:36 +01:00
Alexandre Ratchov 7027fdf46c dont call revents twice 2012-11-12 18:05:55 +01:00
Alexandre Ratchov dc522e703f cleanup debug traces 2012-11-11 01:46:38 +01:00
Alexandre Ratchov 6b88502d9a fix copyright years 2012-11-10 14:58:53 +01:00
Alexandre Ratchov b4f76f12ef disable asserts hidden in aucat 2012-11-08 08:11:50 +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 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 c3b7829b02 better debug traces 2012-10-16 09:45:53 +02:00
Alexandre Ratchov cf80edff3e check for missed tick after record cycle completion 2012-10-08 23:36:29 +02:00
Alexandre Ratchov f29564da69 better xmalloc from midish 2012-10-06 14:18:49 +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 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 0a0b1c0b20 move aparams.c contents in dsp.c 2012-09-03 13:20:41 +02:00
Alexandre Ratchov 6ce349176e add new sndiod 2012-09-03 00:13:30 +02:00