Make sure hardware volume gets a correct initial value.
authorPierre Ossman <ossman@cendio.se>
Thu, 23 Feb 2006 09:07:49 +0000 (09:07 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 23 Feb 2006 09:07:49 +0000 (09:07 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@579 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/module-solaris.c

index 1de21aed5283bcbafc96dbf3622e6b350d6aef96..76f50935d26836296907cc9b56e903f8a487a77e 100644 (file)
@@ -482,6 +482,10 @@ int pa__init(pa_core *c, pa_module*m) {
 
     pa_modargs_free(ma);
 
+    /* Read mixer settings */
+    if (u->sink)
+        sink_get_hw_volume(u->sink);
+
     return 0;
 
 fail: