# HG changeset patch # User nenolod # Date 1149481733 25200 # Node ID aef9aa10e0c0b5aa34cefd375d120d3ad1906903 # Parent 7e208feb36a27edfd935ec3e8d8e5d124eb80238 [svn] - hookup buffer size option diff -r 7e208feb36a2 -r aef9aa10e0c0 audacious/glade/prefswin.glade --- a/audacious/glade/prefswin.glade Sun Jun 04 21:21:33 2006 -0700 +++ b/audacious/glade/prefswin.glade Sun Jun 04 21:28:53 2006 -0700 @@ -3338,7 +3338,7 @@ - + True True 1 @@ -3348,6 +3348,8 @@ False False 0 0 100 1 10 10 + + 1 diff -r 7e208feb36a2 -r aef9aa10e0c0 audacious/main.c --- a/audacious/main.c Sun Jun 04 21:21:33 2006 -0700 +++ b/audacious/main.c Sun Jun 04 21:28:53 2006 -0700 @@ -195,6 +195,7 @@ 3, /* scroll pl by */ FALSE, /* resume playback on startup */ -1, /* resume playback on startup time */ + TRUE, /* show seperators in pl */ NULL, NULL, 3000, diff -r 7e208feb36a2 -r aef9aa10e0c0 audacious/prefswin.c --- a/audacious/prefswin.c Sun Jun 04 21:21:33 2006 -0700 +++ b/audacious/prefswin.c Sun Jun 04 21:28:53 2006 -0700 @@ -1434,9 +1434,19 @@ effect_about(id); } - +static void +on_output_plugin_bufsize_realize(GtkSpinButton *button, + gpointer data) +{ + gtk_spin_button_set_value(button, cfg.output_buffer_size); +} - +static void +on_output_plugin_bufsize_value_changed(GtkSpinButton *button, + gpointer data) +{ + cfg.output_buffer_size = gtk_spin_button_get_value_as_int(button); +} static void on_mouse_wheel_volume_realize(GtkSpinButton * button, @@ -2011,6 +2021,8 @@ FUNC_MAP_ENTRY(on_chardet_detector_cbox_changed) FUNC_MAP_ENTRY(on_chardet_fallback_realize) FUNC_MAP_ENTRY(on_chardet_fallback_changed) + FUNC_MAP_ENTRY(on_output_plugin_bufsize_realize) + FUNC_MAP_ENTRY(on_output_plugin_bufsize_value_changed) FUNC_MAP_END void