[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Probably a really simple Phonon question with gstreamer backend and kmix volume control
From:       David Boddie <david () boddie ! org ! uk>
Date:       2013-09-16 22:32:15
Message-ID: 201309170032.15471.david () boddie ! org ! uk
[Download RAW message or body]

On Tuesday, September 10, 2013 10:02:02 PM Michael Staggs wrote:

> The actual code snippet is:
> 
>     @pyqtSlot()
>     def item_clicked(self):
>         row = self.listWidget.currentRow()
>         song = musiclist[row]
>         self.mediaObject = Phonon.createPlayer(Phonon.MusicCategory)
>         self.audioOutput = Phonon.AudioOutput(Phonon.MusicCategory, self)
>         Phonon.createPath(self.mediaObject, self.audioOutput)
>         self.volumeSlider.setAudioOutput(self.audioOutput)
>         self.mediaObject.setCurrentSource(Phonon.MediaSource(song))
>         self.mediaObject.play()

Just bringing back the code from a previous message (found in bin/kmp) with
a thought about a possible issue. Have you checked to see if this is being
called twice? I can't imagine it could cause the problem you're seeing but
I'm not familiar with the peculiarities of Phonon.

David
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic