Opened 10 years ago

Last modified 10 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: Analyzed by developer:

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@… 10 years ago.
patch to restore the correct volume

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by fx.roure@…

patch to restore the correct volume

comment:1 Changed 10 years ago by fx.roure@…

comment:2 Changed 10 years ago by hhaamu@…

  • attachments.ispatch changed from 0 to 1
  • attachments.mimetype changed from text/x-diff to text/plain
Note: See TracTickets for help on using tickets.