Clemens Ladisch
86456d21e0
revert revision 2264:23c4c0f5de40
...
The rounding done when converting to smaller sample widths fails for
saturated positive samples; in this case, the sample value overflows and
becomes negative. We are better off without rounding, even if we then
have quantization noise (of at most half the resolution of the least
significant bit).
ALSA bug#3360; Debian #437827 ; GNOME #436192 ; LP #116990 ; Mandriva #33908
2007-12-14 09:11:01 +01:00
Jaroslav Kysela
d25e281230
Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz
2007-10-15 10:24:55 +02:00
Takashi Iwai
6329db3af1
Improve the sample conversion in plug layer
...
Improve the sample conversion in plug layer for the sample bits
reduction. Use round instead of truncating, which introduces
more quantization noise.
Original patch by Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
2007-03-09 17:06:23 +01:00
Takashi Iwai
6333b48061
Fix S24_BE format conversions
...
Fix S24_BE format conversions by René Rebe <rene@exactcode.de>.
2006-01-09 14:40:08 +00:00
Takashi Iwai
08874160c8
- fixed the type punning (compilation warnings with the recent GCC).
2004-01-31 12:16:32 +00:00
Jaroslav Kysela
2db6b18b39
Fixed silence_64 and added support for 24-bit samples to area_silence
2002-07-21 08:19:40 +00:00
Abramo Bagnara
a81bf16bc9
Fixed normalization
2002-07-09 20:21:00 +00:00
Takashi Iwai
c4a0be5c5c
- removed bad get_triple_* for i386. this can access over pages.
...
- fixed get16_1230_B2.
- fixed the size of put16_labels.
2002-07-09 12:44:34 +00:00
Abramo Bagnara
503dfb7162
Fixed interchanged max/min
2002-07-09 09:03:00 +00:00
Jaroslav Kysela
16b3bf447c
Enhanced bitmasks in PCM - added support for more formats by Takashi and me
2002-06-26 02:04:11 +00:00
Jaroslav Kysela
3e3df2d32b
Updated GNU GPL license (address).
...
Changed GNU LGPL licence from 2.0 to 2.1.
2001-12-30 09:22:54 +00:00
Jaroslav Kysela
095cbbb467
Finished lfloat plugin.
...
Added code to plug plugin to handle linear float / integer conversions.
2001-11-27 14:24:44 +00:00
Jaroslav Kysela
35b9951cec
Add norm code back for mix plugin
2001-10-26 07:08:34 +00:00
Jaroslav Kysela
63a11a974c
Added GETS helpers, removed norm
2001-10-25 18:22:14 +00:00
Abramo Bagnara
fcd164e622
Permit to PCM plug configuration to specify unchanged parameters. Added support for RT signals to async interface. Added ops for PCM mix.
2001-07-07 15:53:20 +00:00
Abramo Bagnara
5b50ec848a
Lot of cleanings with the help of gcc3
2001-03-29 17:50:28 +00:00
Abramo Bagnara
82fcfe1ab5
pcm_share cleaning
2001-03-21 16:31:31 +00:00
Abramo Bagnara
a275d66356
Improved .asoundrc changes
2001-03-17 16:34:43 +00:00
Abramo Bagnara
aecf625c00
Clearer name
2001-03-10 10:09:34 +00:00
Abramo Bagnara
8a625fd63b
Cleaned and fixed plugin ops
2000-10-22 09:50:20 +00:00
Jaroslav Kysela
6962a9d6ce
Merged pcmplug branch.
2000-09-24 09:57:26 +00:00