Updated patch to remove un-needed SNDERR messages. See attached. James Courtier-Dutton wrote: > This should be the final patch required to pcm_rate.c. The patch is > against the current alsa-lib CVS. > > 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. > > This should improve the sound quality. Further improvements can be made > by implementing polyphase filters, thereby removing aliases generally > caused by any resampling algorithm that does not include a low pass > filter before changing the number of samples. > > Cheers > > James >