10#ifndef __GUI_WIDGETS_SPECTRUM_ANALYZER_H__
11#define __GUI_WIDGETS_SPECTRUM_ANALYZER_H__
15#include "gtk_wrapper.h"
27#define SPECTRUM_ANALYZER_WIDGET_TYPE (spectrum_analyzer_widget_get_type ())
29 SpectrumAnalyzerWidget,
30 spectrum_analyzer_widget,
32 SPECTRUM_ANALYZER_WIDGET,
35#define SPECTRUM_ANALYZER_MAX_BLOCK_SIZE 32768
36#define SPECTRUM_ANALYZER_MIN_FREQ 20.f
38typedef struct _SpectrumAnalyzerWidget
40 GtkWidget parent_instance;
50 kiss_fft_cpx * fft_in;
51 kiss_fft_cpx * fft_out;
53 kiss_fft_cfg fft_config;
58} SpectrumAnalyzerWidget;
66SpectrumAnalyzerWidget *
67spectrum_analyzer_widget_new_for_port (
Port * port);
Must ONLY be created via port_new()