Commit Graph

22 Commits

Author SHA1 Message Date
Alexandre Ratchov 8a85df2977 tweak debug traces 2012-10-05 20:42:52 +02:00
Alexandre Ratchov c52770bd18 make debug level 1 less verbose 2012-10-05 19:37:47 +02:00
Alexandre Ratchov 37c1d89c64 use max(idelta, odelta) as clock reference 2012-10-05 19:35:31 +02:00
Alexandre Ratchov c257a68d18 ensure there are at least two periods 2012-10-05 18:15:58 +02:00
Alexandre Ratchov 9c73c409dc poll only bits set by sio_pollfd 2012-10-05 18:03:13 +02:00
Alexandre Ratchov 2630880acc handle rec xruns as well 2012-10-04 19:22:15 +02:00
Alexandre Ratchov a3a786b16e handle xruns 2012-10-04 15:24:08 +02:00
Alexandre Ratchov 8c5a080731 dont dump stream state if debugging isn't enabled 2012-09-27 10:40:11 +02:00
Alexandre Ratchov f0f8c69cac hide some debug info 2012-09-26 22:33:37 +02:00
Alexandre Ratchov b7f6f22883 Misc. alsa fixes:
- use alsa start threshold rather filling manually play buffers
 - remove unused code, cleanup error messages
 - fix buffer size calculations
 - align period size to 32 to workaround strange alsa behavior
 - force buffer size to be multiple of the period size
2012-09-26 22:32:28 +02:00
Alexandre Ratchov 25e3fe8839 remove wsil() and rdrop() 2012-09-05 10:05:48 +02:00
Alexandre Ratchov 6c0895ba37 alsa has no volume knob 2012-05-29 18:59:39 +02:00
Alexandre Ratchov d0bc800ea8 unbreak alsa 2011-11-03 13:23:17 +01:00
Alexandre Ratchov 8a01f1f248 remove unused vars 2011-06-30 00:43:27 +02:00
Alexandre Ratchov 6b44a56017 use "period event" for recording
allocate paramters on the stack in sio_alsa_setpar()
2011-05-07 19:56:25 +02:00
Alexandre Ratchov 67ac528d10 handle EAGAIN, link in sio_start() and unlink in sio_stop() 2011-05-07 01:32:20 +02:00
Alexandre Ratchov 8e920de252 link the .so file with -lasound, otherwise we get the
wrong alsa library
2011-05-06 19:15:16 +02:00
Alexandre Ratchov 8e25c4c95f include "bsd-compat.h" unconditionally 2011-05-06 14:11:18 +02:00
Alexandre Ratchov 7c836dac01 move default device handling in backend code 2011-05-03 22:07:30 +02:00
Alexandre Ratchov 2b7b6ed7c6 unbreak build 2011-04-18 11:23:16 +02:00
Alexandre Ratchov 313ba302a8 use common DPRINTF's for audio and midi code 2011-04-16 11:12:41 +02:00
Alexandre Ratchov 2873ad8ad2 fix stupid functions names and file names, no binary change 2011-03-31 11:52:54 +02:00