diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-07-02 15:51:37 +0200 |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-07-02 15:51:37 +0200 |
commit | a27d314863d38821f5122973be3fe5306ed82ef1 (patch) | |
tree | 9163561f6c36e3077518819b091f5aa5ad7b649b /src/3rdparty/phonon/mmf/audiooutput.cpp | |
parent | dcfda58e029042e8d7339833bdb2d6a90bd3e30f (diff) | |
download | qt4-tools-a27d314863d38821f5122973be3fe5306ed82ef1.tar.gz |
Pouring.
Diffstat (limited to 'src/3rdparty/phonon/mmf/audiooutput.cpp')
-rw-r--r-- | src/3rdparty/phonon/mmf/audiooutput.cpp | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/mmf/audiooutput.cpp b/src/3rdparty/phonon/mmf/audiooutput.cpp new file mode 100644 index 0000000000..a66e079301 --- /dev/null +++ b/src/3rdparty/phonon/mmf/audiooutput.cpp @@ -0,0 +1,52 @@ +/* This file is part of the KDE project. + +Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). + +This library is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 2.1 or 3 of the License. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with this library. If not, see <http://www.gnu.org/licenses/>. + +*/ + +#include "audiooutput.h" + +using namespace Phonon; +using namespace Phonon::MMF; + +AudioOutput::AudioOutput(Backend *, QObject *parent) +{ + setParent(parent); +} + +qreal AudioOutput::volume() const +{ + return 0; +} + +void AudioOutput::setVolume(qreal) +{ +} + +int AudioOutput::outputDevice() const +{ + return 0; +} + +bool AudioOutput::setOutputDevice(int) +{ + return true; +} + +bool AudioOutput::setOutputDevice(const Phonon::AudioOutputDevice &) +{ + return true; +} + |