diff options
Diffstat (limited to 'callbacks.c')
-rw-r--r-- | callbacks.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/callbacks.c b/callbacks.c index 64de30a8..d319186f 100644 --- a/callbacks.c +++ b/callbacks.c @@ -32,7 +32,9 @@ void on_volume_value_changed (GtkRange *range, gpointer user_data) { - psdl_set_volume (gtk_range_get_value (range) / 100); +// float db = -(60 - (gtk_range_get_value (range) * 0.6f)) + float a = gtk_range_get_value (range) / 100; + psdl_set_volume (a*a); } int g_disable_seekbar_handler = 0; |