Re: [linux-audio-dev] Re: Looking for fast integer resampling code

From: Erik de Castro Lopo <erikd-lad@email-addr-hidden-nerd.com>
Date: Mon Jun 13 2005 - 13:28:24 EEST

Olivier Guilyardi wrote:

> I believe libsamplerate, as a general purpose sample rate conversion library,
> should be able to run very fast if needed. After including your library into
> Jackbeat (http://www.xung.org/jackbeat) I was pretty sad to see 40% of my 700Mhz
> Duron load dedicated to processing only six tracks with libsamplerate's
> SRC_LINEAR converter.

Because the quality of linear converters is so poor, I have not
even attempted to optimise or even profile it.

I notice that it runs about 5 times faster than SRC_SINC_FASTEST
and on reflection, it should probably be 20 times faster. However,
I really didn't even expect anyone to use SRC_LINEAR. It was added
for completeness, to show how bad linear converters are.

Erik

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@email-addr-hidden-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"C++ is history repeated as tragedy. Java is history repeated as farce."
-- Scott McKay
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam@email-addr-hidden-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"Java is, in many ways, C++--." -- Michael Feldman
Received on Mon Jun 13 16:15:10 2005

This archive was generated by hypermail 2.1.8 : Mon Jun 13 2005 - 16:15:10 EEST