]> code.delx.au - pulseaudio/commitdiff
Update hardware volume to a correct initial value.
authorPierre Ossman <ossman@cendio.se>
Thu, 23 Feb 2006 09:28:39 +0000 (09:28 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 23 Feb 2006 09:28:39 +0000 (09:28 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@581 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/module-waveout.c

index 02f865c5552f152a9437d3085df6edd7f00f4a01..45ed10b97158fc3b9fcdb472bc2ed8443726de76 100644 (file)
@@ -554,6 +554,10 @@ int pa__init(pa_core *c, pa_module*m) {
 
     pa_modargs_free(ma);
 
+    /* Read mixer settings */
+    if (u->sink)
+        sink_get_hw_volume_cb(u->sink);
+
     return 0;
 
 fail: