Skip to content
Snippets Groups Projects
Commit 6ea058bf authored by Johannes Kauffmann's avatar Johannes Kauffmann Committed by Jean-Baptiste Kempf
Browse files

audio_output/winstore: report initial volume/mute status

Previously, the volume and mute properties would read their default
values (0 and false respectively) since neither Open() or Start()
would call aout_{Volume,Mute}Report by themselves.
Now, the initial volume and mute status are read during Start(), which
means that setting the volume should work after the first
volume_changed event is received by a libvlc consumer.

Partial workaround for #26032.

As a result, reporting the volume level after (un)muting is no longer
necessary (d104faec).

(cherry picked from commit 3a163f81) (edited)

edited:
- omitted cast to void** for pc_AudioVolume
parent 9e48d340
No related branches found
No related tags found
Loading
Pipeline #142346 passed with stages
in 21 minutes and 57 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment