mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
Make sure hardware volume gets a correct initial value.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@579 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
ce9b035b7b
commit
12e35c546c
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue