1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-27 15:53:49 +01:00

Allow users to select more spectrum sizes (even though they are slower)

This commit is contained in:
martynshaw99
2011-05-11 23:49:01 +00:00
parent 495e3476be
commit 8c7f342d40

View File

@@ -47,14 +47,10 @@ void SpectrumPrefs::Populate()
mSizeChoices.Add(_("512")); mSizeChoices.Add(_("512"));
mSizeChoices.Add(_("1024")); mSizeChoices.Add(_("1024"));
mSizeChoices.Add(_("2048")); mSizeChoices.Add(_("2048"));
#ifdef EXPERIMENTAL_FIND_NOTES
mSizeChoices.Add(_("4096")); mSizeChoices.Add(_("4096"));
mSizeChoices.Add(_("8192")); mSizeChoices.Add(_("8192"));
mSizeChoices.Add(_("16384")); mSizeChoices.Add(_("16384"));
mSizeChoices.Add(_("32768 - most narrowband")); mSizeChoices.Add(_("32768 - most narrowband"));
#else
mSizeChoices.Add(_("4096 - most narrowband"));
#endif //LOGARITHMIC_SPECTRUM
for (size_t i = 0; i < mSizeChoices.GetCount(); i++) { for (size_t i = 0; i < mSizeChoices.GetCount(); i++) {
mSizeCodes.Add(1 << (i + 3)); mSizeCodes.Add(1 << (i + 3));