Removed bitmap debug

master
Mark 2022-06-26 12:46:28 -07:00
parent 60da6c131a
commit 267a8a2ad6
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 0 additions and 7 deletions

View File

@ -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;