Commit Graph

481 Commits

Author SHA1 Message Date
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
Alexandre Ratchov 559d953ef6 backout latest 2014-03-17 17:44:47 +01:00
Alexandre Ratchov d00caaaf96 disable playing and monitoring at the same time and append
slots using MODE_MON at the end of the slot list, so that
data to monitor is produced (by other slots) before the
monitoring slot is consuming it
2014-03-17 09:57:41 +01:00
Alexandre Ratchov e2beb728b4 backout latest 2014-03-10 16:05:30 +01:00
Alexandre Ratchov f1a77bece8 comment xvolkey lines conditionnaly 2014-03-10 15:56:23 +01:00
Alexandre Ratchov 5fb297f312 unbreak xvolkeys conditional compilation 2014-03-10 15:33:26 +01:00
Alexandre Ratchov 4709dcb282 simplify switch/case 2014-03-10 11:20:45 +01:00
Alexandre Ratchov 5543797422 log the correct file state string 2014-03-07 17:35:05 +01:00
Alexandre Ratchov af546d3a0f remove unused "delta" argument from onmove callbacks 2014-03-07 11:21:15 +01:00
Alexandre Ratchov 1049e3fa71 remove unused mmc start/stop/relocate call-backs as they don't
make sense for sockets
2014-03-07 11:16:26 +01:00
Alexandre Ratchov f02fdf0585 add protos 2014-03-07 11:09:28 +01:00
Alexandre Ratchov e3de5cc112 use 3dB steps 2014-03-07 10:55:10 +01:00
Alexandre Ratchov 55309494c6 unused include 2014-03-06 19:21:30 +01:00
Alexandre Ratchov e9feeda8a2 nicer debug traces 2014-03-06 16:59:57 +01:00
Alexandre Ratchov aa1877d6ef remove unused "autostart" feature 2014-03-05 21:22:05 +01:00
Alexandre Ratchov 15739f2718 add "sndio" keyword to please "man -k" 2014-03-05 21:17:42 +01:00
Alexandre Ratchov d536b0972d please gcc 2014-03-05 21:14:57 +01:00
Alexandre Ratchov 2c1feaa186 add missing proto 2014-03-05 21:12:35 +01:00
Alexandre Ratchov 946186b6e5 remove slot_onmove 2014-03-05 21:11:57 +01:00
Alexandre Ratchov e140c92610 remove comment 2014-03-05 21:09:31 +01:00
Alexandre Ratchov f59de2770d check if writable preparing a DATA packet 2014-03-05 20:09:34 +01:00
Alexandre Ratchov 25e29a8cf2 remove unused attr 2014-03-05 19:52:21 +01:00
Alexandre Ratchov 8914029a2f remove autostart attribute 2014-03-05 09:16:57 +01:00
Alexandre Ratchov cbecd3ea8d Fix confusion between processed samples by the hardware (as reported
by GET{I,O}OFFS) and samples played as reported by GETINFO(). Fixes
incorrect delta propagated after xruns.
2014-03-04 23:24:52 +01:00
Alexandre Ratchov 0d773f998a set attach-time delta 2014-02-22 17:22:42 +01:00
Alexandre Ratchov 28ee95c844 add options to trigger xruns and randomize transferts 2014-02-21 11:17:38 +01:00
Alexandre Ratchov d06df743db Refresh current position before reading/writing data, to keep the
current position always consistent with read & write pointers.
2014-02-21 10:58:43 +01:00
Alexandre Ratchov c9d4272377 Don't wait for POLLIN or POLLOUT to be set to refresh ring pointers,
as they may not be set in certain cases
2014-02-21 10:55:30 +01:00
Alexandre Ratchov 9c47745d49 remove sqrtone bits 2014-02-19 17:31:16 +01:00
Alexandre Ratchov 556d5f075b dont use rec buffers when in the SLOT_STOP state 2014-02-17 10:54:16 +01:00
Alexandre Ratchov de206b94f5 hide debug printfs 2014-02-17 10:32:38 +01:00
Alexandre Ratchov 54f97478bd dont drain rec direction 2014-02-17 10:29:34 +01:00
Alexandre Ratchov 32d0426047 run play and rec cycles together: simpler and more robust 2014-02-17 10:21:35 +01:00
Alexandre Ratchov d02745522d backout latest 2014-02-15 21:56:05 +01:00
Alexandre Ratchov 3fe3b27ace return actual rchan, rather requested one 2014-02-14 20:59:38 +01:00
Alexandre Ratchov 35700a7787 unbreak install target 2014-02-14 15:20:22 +01:00
Alexandre Ratchov 8ed593d58a return 1, if hdl already set 2014-02-14 15:19:44 +01:00
Alexandre Ratchov 6cbde939dd ensure that rpos <= cpos <= wpos 2014-02-14 15:15:13 +01:00
Alexandre Ratchov e8fc261612 use save parameters instead of calling getpar() 2014-02-13 16:41:51 +01:00
Alexandre Ratchov 1161add0e8 use save parameters instead of calling getpar() 2014-02-13 16:39:42 +01:00
Alexandre Ratchov 7fbbfab94a remove unused 2014-02-13 16:36:56 +01:00
Alexandre Ratchov 05c5ae3c6a handle xrun if xfers are not frame-aligned 2014-02-13 15:11:33 +01:00
Alexandre Ratchov 9fc928011a set rbpf/wbpf to 1 if not used to avoid SIGFPE 2014-02-13 15:10:56 +01:00
Alexandre Ratchov 262541f176 remove unused 2014-02-13 13:05:37 +01:00
Alexandre Ratchov 7a9ad77510 use relative read/write positions for debug printfs 2014-02-13 13:04:02 +01:00
Alexandre Ratchov 54189d0fa8 parse -b option 2014-02-13 12:36:43 +01:00
Alexandre Ratchov cdf83eabd5 connect xvolkeys to the build 2014-02-10 14:24:57 +01:00
Alexandre Ratchov fc6a9ca274 more Va -> Cm fixes, from jan stary 2014-02-08 16:04:51 +01:00