summaryrefslogtreecommitdiff
path: root/sndobj/SndIO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sndobj/SndIO.cpp')
-rw-r--r--sndobj/SndIO.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sndobj/SndIO.cpp b/sndobj/SndIO.cpp
index 1e7b72c..6f79feb 100644
--- a/sndobj/SndIO.cpp
+++ b/sndobj/SndIO.cpp
@@ -31,7 +31,7 @@
SndIO::SndIO(short channels, short bits, SndObj** inputlist,
- int vecsize, float sr){
+ int vecsize, double sr){
int n;
m_channels = channels;
@@ -78,7 +78,7 @@ SndIO::SndIO(short channels, short bits, SndObj** inputlist,
SndIO::SetVectorSize(int vecsize){
m_samples = vecsize*m_channels;
if(m_output) delete[] m_output;
- if(!(m_output = new float[m_samples])){
+ if(!(m_output = new double[m_samples])){
m_error = 1;
#ifdef DEBUG
cout << ErrorMessage();