Commit Graph

18 Commits

Author SHA1 Message Date
Alexandre Ratchov 2fe4d9ed7e fix channel mapping arithmetics causing crashes, from remco 2012-05-23 21:14:47 +02:00
Alexandre Ratchov 2775f46e12 panic (and show fill trace) if we try to delete a NULL aproc 2012-04-17 16:33:16 +02:00
Alexandre Ratchov 1247c187a7 s/unsigned/unsigned int/g, requested by deraadt 2012-04-11 09:21:29 +02:00
Alexandre Ratchov 2b23e80702 add a master volume knob 2012-03-23 14:32:29 +01:00
Alexandre Ratchov 1949c506b8 Fix the way the mixer figures out which groups of streams have
common channels and thus need to share their dynamic range. Fixes,
unnecessarily decreased volume in some theoretical cases.
2012-01-10 09:12:00 +01:00
Alexandre Ratchov 37baea58d8 move mmc/mtc and volume control bits from struct aproc to struct dev 2011-11-21 09:06:25 +01:00
Alexandre Ratchov 51ce17cf96 consider two aprocs are intependent if one of them is NULL 2011-11-16 09:04:32 +01:00
Alexandre Ratchov 638b66d498 make clipping less ugly 2011-05-26 09:45:07 +02:00
Alexandre Ratchov 02f3853786 add -w option to switch off automatic volume adjustments 2011-05-13 13:38:34 +02:00
Alexandre Ratchov 52d91a6fa6 remove deadcode, from Michael W. Bombardieri <mb at ii.net> 2011-04-28 09:17:18 +02:00
Alexandre Ratchov 4ba7c28c93 Replace ``short'' by a new ``adata_t'' typedef corresponding to
audio samples and cleanup ADATA_XXX macros. This allows easilly
switching to 24 bit fixed point arithmetic by simply redefining
the adata_t typedef to int and updating ADATA_XXX macros. No
object change.
2010-11-04 18:56:53 +01: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 b6981dc359 typo in comments 2010-09-17 10:39:25 +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 f268454989 import from OpenBSD 2010-08-19 22:38:45 +02:00