Removed bitmap debug
parent
60da6c131a
commit
267a8a2ad6
|
@ -62,9 +62,6 @@ int main(int argc, char *argv[]) {
|
||||||
100, 10000
|
100, 10000
|
||||||
);
|
);
|
||||||
|
|
||||||
std::vector<size_t> waveform;
|
|
||||||
waveform.resize(width);
|
|
||||||
|
|
||||||
Buffer buf = Buffer(
|
Buffer buf = Buffer(
|
||||||
"/tmp/mpd.fifo",
|
"/tmp/mpd.fifo",
|
||||||
//"/home/mark/Workbench/sospi/pulse.fifo",
|
//"/home/mark/Workbench/sospi/pulse.fifo",
|
||||||
|
@ -72,14 +69,10 @@ int main(int argc, char *argv[]) {
|
||||||
fft.compute_buffer_output_size()
|
fft.compute_buffer_output_size()
|
||||||
);
|
);
|
||||||
|
|
||||||
Bitmap b = Bitmap(width, height);
|
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
//b.clear();
|
|
||||||
buf.update();
|
buf.update();
|
||||||
fft.update(buf);
|
fft.update(buf);
|
||||||
//draw_spectrum_bitmap(fft.get_output(), b);
|
|
||||||
//b.save("/tmp/o.bmp");
|
|
||||||
|
|
||||||
hid_buf[0] = 0x01;
|
hid_buf[0] = 0x01;
|
||||||
hid_buf[1] = 0x02;
|
hid_buf[1] = 0x02;
|
||||||
|
|
Loading…
Reference in New Issue