Max Kellermann
|
4f83c60296
|
copyright year 2014
|
2014-01-13 22:31:55 +01:00 |
|
Max Kellermann
|
afcf0795c4
|
pcm/Volume: improved dithering
Instead of just adding a rectangular random value before shifting back
to the normal scale, use the existing PcmDither library.
|
2013-12-28 18:30:24 +01:00 |
|
Max Kellermann
|
394e2815db
|
pcm/PcmDither: inline Dither24To16() and Dither32To16()
|
2013-12-28 18:30:13 +01:00 |
|
Max Kellermann
|
9ac18c39a1
|
pcm/Dither: move shift from DitherConvert() to Dither()
All callers need this shift, so let's move it to the basic method.
|
2013-12-24 23:39:29 +01:00 |
|
Max Kellermann
|
d1b7473418
|
pcm/Dither: rename DitherShift() to DitherConvert()
|
2013-12-24 23:38:11 +01:00 |
|
Max Kellermann
|
1543e529f1
|
pcm/Dither: convert remaining methods to templates
Use the SampleTraits template and let the compiler generate a special
case for S32 instead of reusing S24_P32.
|
2013-12-22 22:18:06 +01:00 |
|
Max Kellermann
|
4043f320fe
|
pcm/Dither: generic sample dithering using template
|
2013-12-22 22:06:25 +01:00 |
|
Max Kellermann
|
c654c7630a
|
pcm_*: move to src/pcm/
|
2013-04-09 01:24:52 +02:00 |
|