File indexing completed on 2024-04-28 03:50:23

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2011 Dennis Nienhüser <nienhueser@kde.org>
0004 //
0005 
0006 #include "AudioOutput.h"
0007 
0008 #include "MarbleDirs.h"
0009 #include "MarbleDebug.h"
0010 #include "routing/instructions/RoutingInstruction.h"
0011 
0012 namespace Marble
0013 {
0014 
0015 class AudioOutputPrivate
0016 {
0017 public:
0018   void audioOutputFinished();
0019   void playInstructions();
0020 };
0021 
0022 void AudioOutputPrivate::audioOutputFinished()
0023 {
0024     // nothing to do
0025 }
0026 
0027 void AudioOutputPrivate::playInstructions()
0028 {
0029     // nothing to do
0030 }
0031 
0032 AudioOutput::AudioOutput( QObject* parent ) : QObject( parent ),
0033     d( new AudioOutputPrivate )
0034 {
0035     // nothing to do
0036 }
0037 
0038 AudioOutput::~AudioOutput()
0039 {
0040     delete d;
0041 }
0042 
0043 void AudioOutput::update( const Route &, qreal, qreal, bool )
0044 {
0045     // nothing to do
0046 }
0047 
0048 void AudioOutput::setMuted( bool )
0049 {
0050     // nothing to do
0051 }
0052 
0053 bool AudioOutput::isMuted() const
0054 {
0055     return true;
0056 }
0057 
0058 void AudioOutput::setSpeaker( const QString & )
0059 {
0060     // nothing to do
0061 }
0062 
0063 QString AudioOutput::speaker() const
0064 {
0065     return QString();
0066 }
0067 
0068 void AudioOutput::setSoundEnabled( bool )
0069 {
0070     // nothing to do
0071 }
0072 
0073 bool AudioOutput::isSoundEnabled() const
0074 {
0075     return false;
0076 }
0077 
0078 }
0079 
0080 #include "moc_AudioOutput.cpp"