1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a window naming typo in the DSP module

This commit is contained in:
hogliux 2017-07-31 15:25:55 +01:00
parent 74fcce88ba
commit a6b128affb
4 changed files with 10 additions and 10 deletions

View file

@ -88,7 +88,7 @@ void WindowingFunction<FloatType>::fillWindowingTables (FloatType* samples, size
}
break;
case blackmann:
case blackman:
{
constexpr FloatType alpha = 0.16f;
@ -102,7 +102,7 @@ void WindowingFunction<FloatType>::fillWindowingTables (FloatType* samples, size
}
break;
case blackmannHarris:
case blackmanHarris:
{
for (size_t i = 0; i < size; ++i)
{
@ -174,8 +174,8 @@ const char* WindowingFunction<FloatType>::getWindowingMethodName (WindowingMetho
case triangular: return "Triangular";
case hann: return "Hann";
case hamming: return "Hamming";
case blackmann: return "Blackmann";
case blackmannHarris: return "Blackmann-Harris";
case blackman: return "Blackman";
case blackmanHarris: return "Blackman-Harris";
case flatTop: return "FlatTop";
case kaiser: return "Kaiser";
default: jassertfalse; return "";

View file

@ -38,8 +38,8 @@ struct WindowingFunction
triangular,
hann,
hamming,
blackmann,
blackmannHarris,
blackman,
blackmanHarris,
flatTop,
kaiser,
numWindowingMethods