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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/engine/phonon
From:       Mark Kretschmann <markey () web ! de>
Date:       2007-04-19 19:33:12
Message-ID: 1177011192.189270.31001.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 655925 by markey:

Add setTickInterval() call to make position() work correctly.


 M  +2 -0      phonon-engine.cpp  


--- trunk/extragear/multimedia/amarok/src/engine/phonon/phonon-engine.cpp #655924:655925
@@ -51,6 +51,8 @@
     m_audioPath   = new Phonon::AudioPath( this );
     m_audioOutput = new Phonon::AudioOutput( Phonon::MusicCategory, this );
 
+    m_mediaObject->setTickInterval( 100 ); // Needed for position() to work
+
     if( !m_mediaObject || !m_audioPath || !m_audioOutput )
     {
         Amarok::StatusBar::instance()->longMessage( "Amarok could not initialize Phonon.",
[prev in list] [next in list] [prev in thread] [next in thread] 

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