Skip to content

Commit

Permalink
[spectrum] Move header inclusion at file start
Browse files Browse the repository at this point in the history
  • Loading branch information
AchimTuran committed Apr 17, 2016
1 parent 30a69f3 commit 7492ea7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spectrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <stdio.h>
#include <math.h>
#include <algorithm>
#include <iostream>


Spectrum::Spectrum(int spectrum_bar_count) {
this->spectrum_bar_count = spectrum_bar_count;
Expand Down Expand Up @@ -38,7 +40,6 @@ Spectrum::~Spectrum() {
delete[] this->spectrum_colors;
}

#include <iostream>
void Spectrum::audio_data(const float *audio_data, int audio_data_length) {
// When we get called the first time, we create a new array holding the same values
// as :audio_data: as we need a non const version of it
Expand Down

0 comments on commit 7492ea7

Please sign in to comment.