Searched refs:CONFIG_DB_RANGE (Results 1 – 6 of 6) sorted by relevance
/dports/audio/deadbeef-musical-spectrum-plugin/ddb_musical_spectrum-353870a/ |
H A D | config.c | 39 int CONFIG_DB_RANGE = 70; variable 83 deadbeef->conf_set_int (CONFSTR_MS_DB_RANGE, CONFIG_DB_RANGE); in save_config() 127 CONFIG_DB_RANGE = deadbeef->conf_get_int (CONFSTR_MS_DB_RANGE, 70); in load_config()
|
H A D | spectrum.c | 326 x += CONFIG_DB_RANGE - 63; in spectrum_render() 327 x = CLAMP (x, 0, CONFIG_DB_RANGE); in spectrum_render() 328 w->bars[i] = CLAMP (w->bars[i], 0, CONFIG_DB_RANGE); in spectrum_render() 329 w->peaks[i] = CLAMP (w->peaks[i], 0, CONFIG_DB_RANGE); in spectrum_render() 417 const int hgrid_num = CONFIG_DB_RANGE/10; in draw_static_content() 431 const float base_s = (height / (float)CONFIG_DB_RANGE); in spectrum_draw_cairo() 503 const int hgrid_num = CONFIG_DB_RANGE/10; in spectrum_draw_cairo() 549 const float base_s = (height / (float)CONFIG_DB_RANGE); in spectrum_draw_custom()
|
H A D | config.h | 59 extern int CONFIG_DB_RANGE;
|
H A D | config_dialog.c | 677 gtk_spin_button_set_value (GTK_SPIN_BUTTON (db_range), CONFIG_DB_RANGE); in on_button_config() 703 CONFIG_DB_RANGE = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (db_range)); in on_button_config()
|
/dports/audio/deadbeef-vu-meter-plugin/ddb_vu_meter-940d8d7/ |
H A D | vumeter.c | 94 static int CONFIG_DB_RANGE = 70; variable 116 deadbeef->conf_set_int (CONFSTR_MS_DB_RANGE, CONFIG_DB_RANGE); in save_config() 151 CONFIG_DB_RANGE = deadbeef->conf_get_int (CONFSTR_MS_DB_RANGE, 70); in load_config() 653 gtk_spin_button_set_value (GTK_SPIN_BUTTON (db_range), CONFIG_DB_RANGE); in on_button_config() 681 CONFIG_DB_RANGE = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (db_range)); in on_button_config() 833 …dius * cos (value * M_PI / (CONFIG_DB_RANGE*2.5) - start), surf_height - 23 + m_radius * sin (valu… in vumeter_draw_retro() 851 float base_s = (height / (float)CONFIG_DB_RANGE); in vumeter_draw_bars() 874 int hgrid_num = CONFIG_DB_RANGE/10; in vumeter_draw_bars() 950 float x = CONFIG_DB_RANGE + (10.0 * log10f (w->data[i])); in vumeter_draw() 956 w->bars[i] = CLAMP (w->bars[i], 0, CONFIG_DB_RANGE); in vumeter_draw() [all …]
|
/dports/audio/deadbeef-spectrogram-plugin/ddb_spectrogram-8d1b371/ |
H A D | spectrogram.c | 84 static int CONFIG_DB_RANGE = 70; variable 93 deadbeef->conf_set_int (CONFSTR_SP_DB_RANGE, CONFIG_DB_RANGE); in save_config() 118 CONFIG_DB_RANGE = deadbeef->conf_get_int (CONFSTR_SP_DB_RANGE, 70); in load_config() 397 gtk_spin_button_set_value (GTK_SPIN_BUTTON (db_range), CONFIG_DB_RANGE); in on_button_config() 477 CONFIG_DB_RANGE = gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (db_range)); in on_button_config() 754 x += CONFIG_DB_RANGE - 63; in spectrogram_draw() 755 x = CLAMP (x, 0, CONFIG_DB_RANGE); in spectrogram_draw() 756 … int color_index = GRADIENT_TABLE_SIZE - ftoi (GRADIENT_TABLE_SIZE/(float)CONFIG_DB_RANGE * x); in spectrogram_draw()
|