fosphor.h
fosphor_channel
fosphor_render
FOSPHOR_MAX_CHANNELS
8
FRO_LIVE
(1<<0)

Display live spectrum.

FRO_MAX_HOLD
(1<<1)

Display max-hold spectrum.

FRO_HISTO
(1<<2)

Display histogram.

FRO_WATERFALL
(1<<3)

Display waterfall.

FRO_LABEL_FREQ
(1<<4)

Display frequency labels.

FRO_LABEL_PWR
(1<<5)

Display power labels.

FRO_LABEL_TIME
(1<<6)

Display time labels.

FRO_CHANNELS
(1<<7)

Display channels.

FRO_COLOR_SCALE
(1<<8)

Display intensity color scale.

struct fosphor * struct fosphor* fosphor_init (void) fosphor_init void
void void fosphor_release (struct fosphor *self) fosphor_release struct fosphor * self
int int fosphor_process (struct fosphor *self, void *samples, int len) fosphor_process struct fosphor * self void * samples int len
void void fosphor_draw (struct fosphor *self, struct fosphor_render *render) fosphor_draw struct fosphor * self struct fosphor_render * render
void void fosphor_set_fft_window_default (struct fosphor *self) fosphor_set_fft_window_default struct fosphor * self
void void fosphor_set_fft_window (struct fosphor *self, float *win) fosphor_set_fft_window struct fosphor * self float * win
void void fosphor_set_power_range (struct fosphor *self, int db_ref, int db_per_div) fosphor_set_power_range struct fosphor * self int db_ref int db_per_div
void void fosphor_set_frequency_range (struct fosphor *self, double center, double span) fosphor_set_frequency_range struct fosphor * self double center double span
void void fosphor_render_defaults (struct fosphor_render *render) fosphor_render_defaults struct fosphor_render * render
void void fosphor_render_refresh (struct fosphor_render *render) fosphor_render_refresh struct fosphor_render * render

Main fosphor entry point.