f...@kokkinizita.net wrote: > On Sun, May 23, 2010 at 08:52:16AM +1000, Erik de Castro Lopo wrote: > > > I really don't think any modification is necessary. > > At least one: the sample rate value in the header must > remain the same.
sndfile-resample accepts a: -by <ratio> command line option where <ratio> is given as a floating point value. After the conversion is done, the sample rate in the destination file's header. > The 'canonical' way to obtain the required result would > be to modify the input file's header to reflect the real > (and wrong) samplerate before it is resampled, then resample > it to the exact required rate. Probably easier to fix the desination file. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/ _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev