[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#729067: [phonon] [PATCH] App volume controls have no function



tags 729067 + patch
thanks


On Monday 11 November 2013 16:06:23 Schrober wrote:
> On Friday 08 November 2013 15:11:38 Schrober wrote:
> > The volume control in amarok seems to have no use at all. I've tested the
> > VLC and Gstreamer backend and it is not changing my volume at all. I would
> > have expect that the pulseaudio volume is changed for amarok but nothing
> > happens at all. Also switching the song doesn't seem to do anything (this
> > was recommended in some forums).
> > 
> > This also happens with the KDE dragonplayer. BUT the volume controls in
> > VLC
> > (the video player) work as expected and the pulseaudio app volume controls
> > are moving when I modify the volume in the video player.
> > 
> > Any hints how this can be debugged further?
> 
> I've verified that it works when downgrading libphonon4 and phonon to
> 4:4.6.0.0-3 + phonon-backend-gstreamer to 4:4.6.3-1. The phonon-backend-vlc
> was removed for this test because the vlc dependencies were a nightmare to
> downgrade.
> 
> Then I've upgraded libphonon4 again to 4:4.7.0.0-2 and it stopped working. I
> can repeat these step again and again and come always to the same result. I
> cannot upgrade phonon or phonon-backend-gstreamer without libphonon4. Thus
> it is not possible for me whether this also happens with only these
> components upgraded.

I have attached a patch which should fix this problem. At least it fixes my 
pulseaudio volume control problem for me.
-- 
Franz Schrober
--- a/phonon/audiooutput.cpp
+++ b/phonon/audiooutput.cpp
@@ -108,6 +108,8 @@ void AudioOutputPrivate::init(Phonon::Category c)
             AudioOutputInterface47 *iface = Iface<AudioOutputInterface47>::cast(this);
             if (iface)
                 iface->setStreamUuid(streamUuid);
+            else
+                pulse->setupStreamEnvironment(streamUuid);
         }
     }
 #endif


Reply to: