[Bug 282] New: xine fails to remember volume with pulseaudio driver

View: New views
1 Messages — Rating Filter:   Alert me  

[Bug 282] New: xine fails to remember volume with pulseaudio driver

by Bugzilla from bugzilla-daemon@xine-project.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://bugs.xine-project.org/show_bug.cgi?id=282

           Summary: xine fails to remember volume with pulseaudio driver
           Product: xine-lib
           Version: unspecified
          Platform: AMD64/x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Core / Backend
        AssignedTo: xine-bugs@...
        ReportedBy: marc.ruiter@...


When audio.volume.remember_volume is set to 1, xine should restore volume on
startup. This doesn't work with the pulseaudio driver.

The code responsible for restoring the volume is in _x_ao_new_port() in
xine-engine/audio_out.c:2183

...
ao_set_property(&this->ao, prop, vol);
...


The pulseaudio set_property implementation (ao_pulse_set_property), unlike the
alsa implementation, requires the stream and context to be set up which are not
at this point. Therefore the call gets ignored and remains muted. It is
probably better to move the volume recovery code to a later stage (ao_open?) so
that the stream and context are set up.

--
Configure bugmail: http://bugs.xine-project.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
xine-bugs mailing list
xine-bugs@...
https://lists.sourceforge.net/lists/listinfo/xine-bugs