summaryrefslogtreecommitdiff
path: root/sndobj/HammingTable.h
diff options
context:
space:
mode:
authorJohn Glover <glover.john@gmail.com>2010-10-21 13:39:28 +0100
committerJohn Glover <glover.john@gmail.com>2010-10-21 13:39:28 +0100
commitce65c30264be9683dd3a59b35730d2f31e02d37f (patch)
tree90aaf2e77526af9ba099e76175956d0dd6a37633 /sndobj/HammingTable.h
parentb46b988f164f983fc889c7bc0c96953e4609d27a (diff)
downloadsimpl-ce65c30264be9683dd3a59b35730d2f31e02d37f.tar.gz
simpl-ce65c30264be9683dd3a59b35730d2f31e02d37f.tar.bz2
simpl-ce65c30264be9683dd3a59b35730d2f31e02d37f.zip
Changed from floats to doubles in the C/C++ code, makes Python integration a bit easier. Fixed a bug that would cause SndObjSynthesis to crash if peak values were floats.
Diffstat (limited to 'sndobj/HammingTable.h')
-rw-r--r--sndobj/HammingTable.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sndobj/HammingTable.h b/sndobj/HammingTable.h
index fe940c6..9a054ec 100644
--- a/sndobj/HammingTable.h
+++ b/sndobj/HammingTable.h
@@ -33,15 +33,15 @@
class HammingTable : public Table {
protected :
- float m_alpha;
+ double m_alpha;
public:
- void SetParam(long L, float alpha=.54);
+ void SetParam(long L, double alpha=.54);
char* ErrorMessage();
short MakeTable();
HammingTable();
- HammingTable(long L, float alpha);
+ HammingTable(long L, double alpha);
~HammingTable();
};