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: fx.roure@… 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)

ao_pulse_restore.patch (685 bytes ) - added by fx.roure@… 15 years ago.
patch to restore the correct volume

Download all attachments as: .zip

Change History (3)

by fx.roure@…, 15 years ago

Attachment: ao_pulse_restore.patch added

patch to restore the correct volume

comment:1 by fx.roure@…, 15 years ago

comment:2 by hhaamu@…, 15 years ago

attachments.ispatch: 01
attachments.mimetype: text/x-difftext/plain
Note: See TracTickets for help on using tickets.