diff options
| author | Comment <tim@gray.(none)> | 2013-05-07 11:39:33 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-05-07 11:39:33 +0100 |
| commit | 31ba1ab9504c5a4080d9703a37ab3d4f82066037 (patch) | |
| tree | 1f61f011688137752742cac405c030c25362a7f9 /rotord/rotor.cpp | |
| parent | ff59340614ec150e4bd84d3554081e666970aef2 (diff) | |
tidy up audio loading
Diffstat (limited to 'rotord/rotor.cpp')
| -rwxr-xr-x | rotord/rotor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/rotor.cpp b/rotord/rotor.cpp index 4c79fc1..46bc9c9 100755 --- a/rotord/rotor.cpp +++ b/rotord/rotor.cpp @@ -76,7 +76,7 @@ int Audio_thumbnailer::process_frame(uint8_t *_data,int samples_in_frame){ for (int i=0;i<channels;i++) { unsigned int this_val=0; for (int j=0;j<bytes;j++) { - this_val+=_data[(in_sample*stride)+(i*bytes)+j]<<(j*8); +// this_val+=_data[(in_sample*stride)+(i*bytes)+j]<<(j*8); } //convert from integer data format - i.e s16p - to audio signal in -1..1 range //presume 16 bits for now... |
