comparison trunk/src/Modules/Input/ModuleFileInput.cc @ 449:91f3d4287ac2

removed a debug printout
author hamel.phil
date Thu, 06 Jan 2011 16:30:25 +0000
parents eba6d914f82c
children
comparison
equal deleted inserted replaced
448:eba6d914f82c 449:91f3d4287ac2
101 vector<float> buffer; 101 vector<float> buffer;
102 buffer.resize(buffer_length_ * audio_channels_); 102 buffer.resize(buffer_length_ * audio_channels_);
103 103
104 // Read buffersize bytes into buffer 104 // Read buffersize bytes into buffer
105 read = sf_readf_float(file_handle_, &buffer[0], buffer_length_); 105 read = sf_readf_float(file_handle_, &buffer[0], buffer_length_);
106 for (int i = 0; i < 10; i++) { 106
107 LOG_INFO(_T("%i: %f, %f"),i,buffer[2*i],buffer[2*i+1]);
108 }
109 // Place the contents of the buffer into the signal bank 107 // Place the contents of the buffer into the signal bank
110 int counter = 0; 108 int counter = 0;
111 for (int i = 0; i < read; ++i) { 109 for (int i = 0; i < read; ++i) {
112 for (int c = 0; c < audio_channels_; ++c) { 110 for (int c = 0; c < audio_channels_; ++c) {
113 output_.set_sample(c, i, buffer[counter]); 111 output_.set_sample(c, i, buffer[counter]);