[NCSF] Very minor cleanups.
--- a/src/in_ncsf/SSEQPlayer/Channel.cpp
+++ b/src/in_ncsf/SSEQPlayer/Channel.cpp
@@ -64,7 +64,7 @@
double dx = static_cast<double>(SINC_WIDTH) / SINC_SAMPLES, x = 0.0;
for (unsigned i = 0; i <= SINC_SAMPLES; ++i, x += dx)
{
- float y = x / SINC_WIDTH;
+ double y = x / SINC_WIDTH;
this->sinc_lut[i] = std::abs(x) < SINC_WIDTH ? sinc(x) * (0.40897 + 0.5 * std::cos(M_PI * y) + 0.09103 * std::cos(2 * M_PI * y)) : 0.0;
}
this->initializedLUTs = true;
--- a/src/in_ncsf/SSEQPlayer/Channel.h
+++ b/src/in_ncsf/SSEQPlayer/Channel.h
@@ -210,7 +210,7 @@
NDSSoundRegister reg;
/*
- * Lookup tables for the cosine and Lanczos Sinc interpolations, to
+ * Lookup tables for the Sinc interpolation, to
* avoid the need to call the sin/cos functions all the time.
* These are static as they will not change between channels or runs
* of the program.