diff options
author | deva <deva> | 2008-07-22 21:24:59 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-22 21:24:59 +0000 |
commit | 8c0e853723666df7696e4e52cac4522336141125 (patch) | |
tree | cf673d365dfdb9e8ed274edac1f287219fc3d89b /src/audiofile.cc | |
parent | f6cabfe8fe888e00388a815541084b0fa332a462 (diff) |
Fixed 'scratchy' bug.
Diffstat (limited to 'src/audiofile.cc')
-rw-r--r-- | src/audiofile.cc | 4 |
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); } |