Commit Graph

169 Commits

Author SHA1 Message Date
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 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 002a501b9f cleanup tags, from schwarze@ 2014-01-27 13:16:23 +01:00
Alexandre Ratchov a49e6f5991 clarify sio_stop() and friends 2013-12-27 13:20:04 +01:00
Alexandre Ratchov f4f0b9e7b7 - replace "audio stream" by "audio device", as sndio is a device
abstraction
- remove useless statements.
2013-12-22 02:22:00 +01:00
Alexandre Ratchov dd2c5a2816 set rec params before play params 2013-12-11 13:35:28 +01:00
Alexandre Ratchov 496c443bca log errors only if SNDIO_DEBUG=1 2013-12-10 20:23:11 +01:00
Alexandre Ratchov b22be8340a log only errors if SNDIO_DEBUG=1 2013-12-10 20:14:48 +01:00
Alexandre Ratchov e8221ec396 handle partial samples in alsa 2013-12-10 08:43:45 +01:00
Alexandre Ratchov 90db576827 implement getcaps for alsa 2013-11-28 18:47:07 +01:00
Alexandre Ratchov 305695dee8 bump major 2013-11-26 19:45:01 +01:00
Alexandre Ratchov c0b2a1da07 drop comment 2013-11-22 12:09:43 +01:00
Alexandre Ratchov b1c417ab04 add prototypes 2013-11-18 17:50:04 +01:00
Alexandre Ratchov def3c30515 forgotten s/sndio_debug/_sndio_debug, from Christian Neukirchen,
thanks!
2013-11-15 08:35:11 +01:00
Alexandre Ratchov f4e64d573c spacing 2013-11-14 19:34:11 +01:00
Alexandre Ratchov abfcc198af sync to openbsd 2013-11-14 14:07:20 +01:00
Alexandre Ratchov 3254773ea9 remove only files we generate 2013-11-12 09:51:47 +01:00
Alexandre Ratchov 686dd7065e cleanup namespace 2013-11-12 09:49:28 +01:00
Alexandre Ratchov 73396a2106 crank major, as openbsd did 2013-08-27 08:08:59 +02:00
Alexandre Ratchov 5419334f1e align comments 2013-08-09 13:08:06 +02:00
Alexandre Ratchov 2bbe227870 use .In for includes, remove FILES sections 2013-08-09 12:08:34 +02:00
Alexandre Ratchov 6c33ab75ef fix play vs rec parameters confision 2013-06-03 16:15:56 +02:00
Alexandre Ratchov 6be37c42ee style 2013-06-03 15:48:01 +02:00
Alexandre Ratchov 9ba5076846 drop forgotten debug printf 2013-06-03 13:53:37 +02:00
Alexandre Ratchov bd681ab72d handle poll revents before state changes may occur 2013-06-03 12:55:22 +02:00
Alexandre Ratchov 83cf9a6eb7 fix & reorganize few traces 2013-05-14 11:45:19 +02:00
Alexandre Ratchov 05834decf0 less traces 2013-05-14 11:42:32 +02:00
Alexandre Ratchov bd09b46d73 fix samples vs bytes confusion in xrun code-path 2013-05-09 18:03:40 +02:00
Alexandre Ratchov aea7519d93 tabify 2013-04-15 10:42:51 +02:00
Alexandre Ratchov b5f32675fc explain what "default" means in sndio.7 2013-04-12 16:24:59 +02:00
Alexandre Ratchov 8748c853c2 move wsil/rdrop code in sio.c 2013-04-12 16:14:53 +02:00
Alexandre Ratchov 92bec779c0 better debug traces 2013-04-04 16:07:14 +02:00
Alexandre Ratchov 53f43d4df8 typo in comment 2013-04-04 16:01:44 +02:00
Alexandre Ratchov 8e377687b9 fix premature onmove() call-backs 2013-03-19 19:43:49 +01:00
Alexandre Ratchov ca804a9ffe log successful connections if debug enabled 2013-03-04 08:59:49 +01:00
Alexandre Ratchov 07bb2c0c95 subdevice -> sub-device 2013-01-06 19:14:55 +01:00
Alexandre Ratchov 2d63cee93c factor hw parameters setup 2012-11-13 15:08:28 +01:00
Alexandre Ratchov e77cefa34a pick a know format, if the requested one is not supported 2012-11-12 19:41:46 +01:00
Alexandre Ratchov 589cf9599a dont put xrun counters under #ifdef DEBUG 2012-11-08 20:07:51 +01:00
Alexandre Ratchov 2d4a336e1d rework xrun recovery code 2012-11-08 16:58:46 +01:00
Alexandre Ratchov a3a868da74 prime buffers with silence; make flow control start with zero
maxwrite
2012-11-07 08:48:35 +01:00
Alexandre Ratchov d6cb8d427d add bits for midi/N style port names 2012-11-06 20:52:40 +01:00