Commit Graph

770 Commits

Author SHA1 Message Date
Alexandre Ratchov 0ba693c86d remove sio_strtoenc and sio_enctostr 2010-10-30 14:46:11 +02:00
Alexandre Ratchov 286994d187 make sio_onvol() return an integer, 0 if the volume knob not available,
allowing the caller to setup a softvol layer
2010-10-25 09:45:16 +02:00
Alexandre Ratchov fe5100700d add forgotten "static" 2010-10-22 19:05:45 +02:00
Alexandre Ratchov 1c465cd239 When the end of a stream is reached (ie mix_eof() called) other
possibly blocked streams are processed. If during this phase the end
of another stream is reached then stop the processing because the job
will be already finished by the second stream. Otherwise we may end up
running a destroyed stream.

help from Edward Wandasiewicz <w13ntd at googlemail.com>, thanks
2010-10-22 07:46:17 +02:00
Alexandre Ratchov 6cd91baafa polish comments 2010-10-19 13:07:53 +02:00
Alexandre Ratchov 9ab5fcf177 fix comments 2010-10-18 19:32:52 +02:00
Alexandre Ratchov fa5a65f0d9 cleanup modes, no behaviour change 2010-09-29 15:54:32 +02:00
Alexandre Ratchov 1c76bd2b01 add forgotten ``return NULL'' 2010-09-18 10:37:26 +02:00
Alexandre Ratchov b6981dc359 typo in comments 2010-09-17 10:39:25 +02:00
Alexandre Ratchov 52a88805d0 include grp.h (linux only) in bsd-compat.h rather than in aucat.c 2010-09-17 10:36:54 +02:00
Alexandre Ratchov d7e18f5097 don't try to get the current stream postion when the device is stopped,
and don't generate clock ticks (ie don't invoke the sio_onmove(3)
call-back).
2010-09-17 10:35:07 +02:00
Alexandre Ratchov 3e16dfcd59 add a XXX 2010-09-15 18:27:50 +02:00
Alexandre Ratchov 13d834c5e1 remove unused function mix_prime() 2010-09-15 18:10:29 +02:00
Alexandre Ratchov c7be174526 better error message if getpwnam fails 2010-09-09 08:35:23 +02:00
Alexandre Ratchov 6078ffd6b8 include grp.h, include bsd-compat.h first, since it defines _GNU_SOURCE,
used by other headers
2010-09-03 11:48:32 +02:00
Alexandre Ratchov 9870bef8b9 use ``0'' as default alsa device 2010-09-02 10:41:12 +02:00
Alexandre Ratchov 75acc22776 recommit max delta'' fix, backed out by mistake 2010-08-20 00:11:52 +02:00
Alexandre Ratchov 655364c586 remove cvs keyword from sndio.h to avoid conflicts 2010-08-19 23:53:46 +02:00
Alexandre Ratchov a17607cf7a add initial alsa support from jakemsr 2010-08-19 23:00:06 +02:00
Alexandre Ratchov f268454989 import from OpenBSD 2010-08-19 22:38:45 +02:00