So ok, I can't use floating point - guess I missed that information. Thanks for the heads up, Erik!
> I don't know of any other libraries that does linear resampling, but its > not that difficult to make one manually. I'm sure there are example codes > floating around as well. I tried to understand the original resample (JOS) sourcecode which also has a linear resampling besides the filter resampling. But I am still not sure how I can use it to resample my 16bit mono sample-stream instead of reading data from a soundfile. More than strange enough it shifts the read data down by 8 bits before doing the resampling operation on it. When it is done, data is shifted up again by 8 bits to write it to a new file.. I cant understand why it does that and if I can use my 16bit stream without the bit shifts.. I also googled for linear resampling sample codes in c - but found none... maybe I searched with the wrong phrases. So, if somebody is willing to give me a hint on resample, I would be very happy! Greetings, Tobias
