Commit Graph

5 Commits

Author SHA1 Message Date
Alexandre Ratchov 1247c187a7 s/unsigned/unsigned int/g, requested by deraadt 2012-04-11 09:21:29 +02:00
Alexandre Ratchov bc81d0b2ea Add experimental support for 24-bit arithmetic, meaning that full
dynamic range of 24-bit hardware can be used. Offline processing like
mixing and channel mapping is done with 24-bit precision too.
2010-11-05 17:55:42 +01:00
Alexandre Ratchov afe1d1a6c5 Convert ulaw/alaw to native format (ie using ADATA_XXX defines) rather
than s16 (using hardcoded constants). Currently s16 is the native format,
so no behavior change.
2010-11-05 16:29:04 +01: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 f268454989 import from OpenBSD 2010-08-19 22:38:45 +02:00