OSDN Git Service

Improve the sample conversion in plug layer
authorTakashi Iwai <tiwai@suse.de>
Fri, 9 Mar 2007 16:06:23 +0000 (17:06 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Mar 2007 16:06:23 +0000 (17:06 +0100)
commit6329db3af11cd26120a76c341cee9e55f0512748
treeda669ed72b516881d4274ccf1a0433f673f12e34
parentfbc2a6fa09998c1b80866579c952e233b11c42f6
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>
src/pcm/plugin_ops.h