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: