Opened 15 years ago
Last modified 15 years ago
#1540 new defect
Mixer level is not restored when using pulseaudio with module-stream-restore
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | ao |
Version: | HEAD | Severity: | minor |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
When using the pulse audio output configured with the module-stream-restore, mplayer will always start with a volume set to 100%.
The issue seems to come from libao2/ao_pulse.c when calling pa_stream_connect_playback with &volume as argument (which was previously init with pa_cvolume_reset).
If you change the arguments &volume by NULL the problem is solved (this is a valid solution when you have the module-stream-restore but i don't know otherwise :/).
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | ao_pulse_restore.patch added |
---|
comment:1 by , 15 years ago
comment:2 by , 15 years ago
attachments.ispatch: | 0 → 1 |
---|---|
attachments.mimetype: | text/x-diff → text/plain |
Note:
See TracTickets
for help on using tickets.
patch to restore the correct volume