Anton Khirnov
b7558ac293
af_amix: avoid spurious EAGAIN.
...
Input on/off state can change in request_samples(), which can result in
a state where only the first input is active. get_available_samples()
will then return 0, and request_frame() will fail with EAGAIN even
though there is data on the single active input.
Take this into account and check the number of active inputs again after
calling request_samples().
2012-07-06 13:51:58 +02:00
..
2012-07-03 14:14:13 +01:00
2012-06-26 13:13:48 +02:00
2012-07-06 13:51:58 +02:00
2012-06-22 20:58:19 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 19:09:15 +02:00
2012-06-26 13:15:14 +02:00
2012-06-22 13:55:58 -07:00
2012-06-13 11:11:33 +02:00
2012-06-26 19:08:13 +02:00
2012-06-22 20:58:19 +02:00
2012-06-22 20:58:19 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:25:13 +02:00
2012-06-26 19:10:17 +02:00
2012-06-26 13:14:59 +02:00
2012-05-15 06:53:22 +02:00
2012-06-22 21:06:01 +02:00
2012-05-14 21:36:11 +02:00
2012-06-26 19:08:13 +02:00
2012-05-14 21:36:11 +02:00
2011-03-19 13:33:20 +00:00
2011-03-19 13:33:20 +00:00
2012-06-26 19:08:13 +02:00
2012-07-04 17:48:25 +01:00
2012-06-26 13:20:19 +02:00
2012-07-03 17:35:12 +02:00
2012-07-02 01:16:37 +01:00
2012-06-26 13:14:59 +02:00
2012-06-22 21:06:01 +02:00
2010-01-16 04:49:02 +00:00
2012-07-04 17:48:25 +01:00
2012-06-26 13:13:48 +02:00
2012-07-04 15:10:10 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:13:48 +02:00
2012-06-13 11:11:33 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 19:08:13 +02:00
2012-07-02 01:16:37 +01:00
2012-06-13 11:11:33 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:13:48 +02:00
2012-06-13 11:11:33 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-13 11:11:33 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 13:13:48 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-13 11:11:33 +02:00
2012-07-02 01:16:37 +01:00
2012-06-26 13:20:19 +02:00
2012-06-13 11:09:15 +02:00
2012-06-13 11:11:33 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 19:08:13 +02:00
2012-06-26 13:13:48 +02:00
2012-07-02 01:16:37 +01:00