OSDN Git Service

Signed-off-by: James Courtier-Dutton <James@superbug.demon.co.uk>
authorJames Courtier-Dutton <James@superbug.demon.co.uk>
Mon, 9 Aug 2004 06:31:41 +0000 (06:31 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 9 Aug 2004 06:31:41 +0000 (06:31 +0000)
commit6170a88309be3bba23eee69149a6c2505bc66bbd
treed25062ce77ab5aae83b378b7e71622f32fd497ad
parent6dc1b4bcbc5c53c84b312b5ab71f42554c8c56b5
Signed-off-by: James Courtier-Dutton <James@superbug.demon.co.uk>
This patch fixes a number of different bugs in pcm_rate.c.
1) Resampling now works for rate 192000 -> 8000.
2) zero samples are not accidentally inserted into the stream any more.
3) Corrects period size calculations.
4) Prevents avail_min and xfer_align being less than 1.
src/pcm/pcm_rate.c