changeset 2912:8f0a8a0d71c5

init volume sliders
author Tomasz Mon <desowin@gmail.com>
date Thu, 14 Aug 2008 00:46:34 +0200
parents 23c437ada180
children 457260d55428
files src/skins/plugin.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/plugin.c	Thu Aug 14 00:20:17 2008 +0300
+++ b/src/skins/plugin.c	Thu Aug 14 00:46:34 2008 +0200
@@ -88,6 +88,10 @@
     init_skins(config.skin);
     mainwin_setup_menus();
 
+    gint h_vol[2];
+    aud_input_get_volume(&h_vol[0], &h_vol[1]);
+    aud_hook_call("volume set", h_vol);
+
     skins_interface.ops->create_prefs_window();
     cfgdlg = skins_configure();
     aud_prefswin_page_new(cfgdlg, N_("Skinned Interface"), DATA_DIR "/images/appearance.png");