[beast/devel: 7/27] FREEVERB: renamed C++ headers to .hh



commit 4dbe9138cddecc86fe0d387afb9ebed13d949a94
Author: Tim Janik <timj gnu org>
Date:   Sun Dec 23 16:22:40 2012 +0100

    FREEVERB: renamed C++ headers to .hh

 plugins/freeverb/Makefile.am                       |    8 ++++----
 plugins/freeverb/allpass.hpp                       |    2 +-
 plugins/freeverb/bsefreeverb.cc                    |    2 +-
 plugins/freeverb/{bsefreeverb.h => bsefreeverb.hh} |    2 +-
 plugins/freeverb/bsefreeverbcpp.cpp                |    2 +-
 .../{bsefreeverbcpp.h => bsefreeverbcpp.hh}        |    0
 plugins/freeverb/comb.hpp                          |    2 +-
 plugins/freeverb/{denormals.h => denormals.hh}     |    0
 plugins/freeverb/readme.txt                        |    2 +-
 plugins/freeverb/revmodel.hpp                      |    2 +-
 plugins/freeverb/{tuning.h => tuning.hh}           |    0
 11 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/plugins/freeverb/Makefile.am b/plugins/freeverb/Makefile.am
index 7d32ce5..6e9d056 100644
--- a/plugins/freeverb/Makefile.am
+++ b/plugins/freeverb/Makefile.am
@@ -16,10 +16,10 @@ freeverb_la_LIBADD  = $(top_builddir)/bse/libbse.la $(BSE_LIBS) -lm
 plugin_LTLIBRARIES = freeverb.la
 
 EXTRA_DIST += $(strip \
-	bsefreeverb.h \
-	bsefreeverbcpp.h \
-	denormals.h \
-	tuning.h \
+	bsefreeverb.hh \
+	bsefreeverbcpp.hh \
+	denormals.hh \
+	tuning.hh \
 	allpass.hpp \
 	comb.hpp \
 	revmodel.hpp \
diff --git a/plugins/freeverb/allpass.hpp b/plugins/freeverb/allpass.hpp
index 7f5ef20..3a18293 100644
--- a/plugins/freeverb/allpass.hpp
+++ b/plugins/freeverb/allpass.hpp
@@ -6,7 +6,7 @@
 
 #ifndef _allpass_
 #define _allpass_
-#include "denormals.h"
+#include "denormals.hh"
 
 class allpass
 {
diff --git a/plugins/freeverb/bsefreeverb.cc b/plugins/freeverb/bsefreeverb.cc
index 74a2ef3..f7837dd 100644
--- a/plugins/freeverb/bsefreeverb.cc
+++ b/plugins/freeverb/bsefreeverb.cc
@@ -14,7 +14,7 @@
  * A copy of the GNU Lesser General Public License should ship along
  * with this library; if not, see http://www.gnu.org/copyleft/.
  */
-#include "bsefreeverb.h"
+#include "bsefreeverb.hh"
 
 #include <bse/bseengine.hh>
 #include <bse/bsecxxplugin.hh>
diff --git a/plugins/freeverb/bsefreeverb.h b/plugins/freeverb/bsefreeverb.hh
similarity index 98%
rename from plugins/freeverb/bsefreeverb.h
rename to plugins/freeverb/bsefreeverb.hh
index 5a74190..a881ead 100644
--- a/plugins/freeverb/bsefreeverb.h
+++ b/plugins/freeverb/bsefreeverb.hh
@@ -21,7 +21,7 @@
 
 #include <bse/bseplugin.hh>
 #include <bse/bsesource.hh>
-#include "bsefreeverbcpp.h"
+#include "bsefreeverbcpp.hh"
 
 G_BEGIN_DECLS
 
diff --git a/plugins/freeverb/bsefreeverbcpp.cpp b/plugins/freeverb/bsefreeverbcpp.cpp
index f6c4714..af49062 100644
--- a/plugins/freeverb/bsefreeverbcpp.cpp
+++ b/plugins/freeverb/bsefreeverbcpp.cpp
@@ -14,7 +14,7 @@
  * A copy of the GNU Lesser General Public License should ship along
  * with this library; if not, see http://www.gnu.org/copyleft/.
  */
-#include "bsefreeverbcpp.h"
+#include "bsefreeverbcpp.hh"
 
 #include "revmodel.hpp"
 
diff --git a/plugins/freeverb/bsefreeverbcpp.h b/plugins/freeverb/bsefreeverbcpp.hh
similarity index 100%
rename from plugins/freeverb/bsefreeverbcpp.h
rename to plugins/freeverb/bsefreeverbcpp.hh
diff --git a/plugins/freeverb/comb.hpp b/plugins/freeverb/comb.hpp
index fdb77b5..7f5d957 100644
--- a/plugins/freeverb/comb.hpp
+++ b/plugins/freeverb/comb.hpp
@@ -7,7 +7,7 @@
 #ifndef _comb_
 #define _comb_
 
-#include "denormals.h"
+#include "denormals.hh"
 
 class comb
 {
diff --git a/plugins/freeverb/denormals.h b/plugins/freeverb/denormals.hh
similarity index 100%
rename from plugins/freeverb/denormals.h
rename to plugins/freeverb/denormals.hh
diff --git a/plugins/freeverb/readme.txt b/plugins/freeverb/readme.txt
index 1cc5e8b..e81daca 100644
--- a/plugins/freeverb/readme.txt
+++ b/plugins/freeverb/readme.txt
@@ -27,7 +27,7 @@ Finally, note that there is also a built copy of this version of Freeverb called
 Technical Explanation
 ---------------------
 
-Freeverb is a simple implementation of the standard Schroeder/Moorer reverb model. I guess the only reason why it sounds better than other reverbs, is simply because I spent a long while doing listening tests in order to create the values found in "tuning.h". It uses 8 comb filters on both the left and right channels), and you might possibly be able to get away with less if CPU power is a serious constraint for you. It then feeds the result of the reverb through 4 allpass filters on both the left and right channels. These "smooth" the sound. Adding more than four allpasses doesn't seem to add anything significant to the sound, and if you use less, the sound gets a bit "grainy". The filters on the right channel are slightly detuned compared to the left channel in order to create a stereo effect.
+Freeverb is a simple implementation of the standard Schroeder/Moorer reverb model. I guess the only reason why it sounds better than other reverbs, is simply because I spent a long while doing listening tests in order to create the values found in "tuning.hh". It uses 8 comb filters on both the left and right channels), and you might possibly be able to get away with less if CPU power is a serious constraint for you. It then feeds the result of the reverb through 4 allpass filters on both the left and right channels. These "smooth" the sound. Adding more than four allpasses doesn't seem to add anything significant to the sound, and if you use less, the sound gets a bit "grainy". The filters on the right channel are slightly detuned compared to the left channel in order to create a stereo effect.
 
 Hopefully, you should find the code in the components drawer a model of brevity and clarity. Notice that I don't use any "coding conventions". Personally, I think that coding conventions suck. They are meant to make the code "clearer", but they inevitably do the complete opposite, making the code completely unfathomable. Anyone whose done Windows programming with its - frankly stupid - "Hungarian notation" will know exactly what I mean. Coding conventions typically promote issues that are irrelevant up to the status of appearing supremely important. It may have helped back people in the days when compilers where somewhat feeble in their type-safety, but not in the new millenium with advanced C++ compilers.
 
diff --git a/plugins/freeverb/revmodel.hpp b/plugins/freeverb/revmodel.hpp
index 539bd98..c051ee5 100644
--- a/plugins/freeverb/revmodel.hpp
+++ b/plugins/freeverb/revmodel.hpp
@@ -9,7 +9,7 @@
 
 #include "comb.hpp"
 #include "allpass.hpp"
-#include "tuning.h"
+#include "tuning.hh"
 
 class revmodel
 {
diff --git a/plugins/freeverb/tuning.h b/plugins/freeverb/tuning.hh
similarity index 100%
rename from plugins/freeverb/tuning.h
rename to plugins/freeverb/tuning.hh



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]