[Rawstudio-commit] r2196 - trunk/plugins/resample
Anders Brander
anders at brander.dk
Sun Feb 1 17:53:36 CET 2009
Author: abrander
Date: 2009-02-01 17:53:36 +0100 (Sun, 01 Feb 2009)
New Revision: 2196
Modified:
trunk/plugins/resample/resample.c
Log:
Removed unused lanczos_sinc().
Modified: trunk/plugins/resample/resample.c
===================================================================
--- trunk/plugins/resample/resample.c 2009-02-01 04:30:36 UTC (rev 2195)
+++ trunk/plugins/resample/resample.c 2009-02-01 16:53:36 UTC (rev 2196)
@@ -185,18 +185,6 @@
}
static gdouble
-lanczos_sinc(gdouble value)
-{
- if (value != 0.0)
- {
- value *= M_PI;
- return sin(value) / value;
- }
- else
- return 1.0;
-}
-
-static gdouble
sinc(gdouble value)
{
if (value != 0.0)
More information about the Rawstudio-commit
mailing list