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

List:       kde-commits
Subject:    kdesupport/phonon/ds9
From:       Christian Ehrlicher <Ch.Ehrlicher () gmx ! de>
Date:       2008-05-29 19:52:38
Message-ID: 1212090758.339990.1863.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 814269 by chehrlic:

add dummy for new function
bool AudioOutput::setOutputDevice(const AudioOutputDevice & newDevice)

 M  +9 -0      audiooutput.cpp  
 M  +3 -0      audiooutput.h  


--- trunk/kdesupport/phonon/ds9/audiooutput.cpp #814268:814269
@@ -70,6 +70,15 @@
             setVolume(m_volume);
         }
 
+#if (PHONON_VERSION >= PHONON_VERSION_CHECK(4, 2, 0))
+        bool AudioOutput::setOutputDevice(const AudioOutputDevice & newDevice)
+        {
+            //TODO
+            //stub implementation
+            return setOutputDevice(newDevice.index());
+        }
+#endif
+
         qreal AudioOutput::volume() const
         {
             return m_volume;
--- trunk/kdesupport/phonon/ds9/audiooutput.h #814268:814269
@@ -46,6 +46,9 @@
             int outputDevice() const;
             void setVolume(qreal newVolume);
             bool setOutputDevice(int newDevice);
+#if (PHONON_VERSION >= PHONON_VERSION_CHECK(4, 2, 0))
+            bool setOutputDevice(const AudioOutputDevice & newDevice);
+#endif
             void setCrossFadingProgress(short currentIndex, qreal progress);
 
         Q_SIGNALS:
[prev in list] [next in list] [prev in thread] [next in thread] 

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