summaryrefslogtreecommitdiff
path: root/src/audiofile.cc
diff options
context:
space:
mode:
authordeva <deva>2008-07-22 21:24:59 +0000
committerdeva <deva>2008-07-22 21:24:59 +0000
commit8c0e853723666df7696e4e52cac4522336141125 (patch)
treecf673d365dfdb9e8ed274edac1f287219fc3d89b /src/audiofile.cc
parentf6cabfe8fe888e00388a815541084b0fa332a462 (diff)
Fixed 'scratchy' bug.
Diffstat (limited to 'src/audiofile.cc')
-rw-r--r--src/audiofile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audiofile.cc b/src/audiofile.cc
index 1c6ac86..d52e010 100644
--- a/src/audiofile.cc
+++ b/src/audiofile.cc
@@ -65,12 +65,12 @@ void AudioFile::load()
size = sf_seek(fh, 0, SEEK_END);
data = (jack_default_audio_sample_t*)malloc(sizeof(jack_default_audio_sample_t)*size);
- printf("Loading %s, %d samples\n", filename.c_str(), size);
+ // printf("Loading %s, %d samples\n", filename.c_str(), size);
sf_seek(fh, 0, SEEK_SET);
sf_read_float(fh, data, size);
- for(size_t i = 0; i < size; i++) data[i] *= 0.1;
+ // for(size_t i = 0; i < size; i++) data[i] *= 0.1;
sf_close(fh);
}