/* Copyright (c) 2013-2014 Jeffrey Pfau * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef QGBA_AUDIO_PROCESSOR_QT #define QGBA_AUDIO_PROCESSOR_QT #include "AudioProcessor.h" namespace QGBA { class AudioDevice; class AudioProcessorQt : public AudioProcessor { Q_OBJECT public: AudioProcessorQt(QObject* parent = nullptr); virtual void setInput(GBAThread* input); public slots: virtual void start(); virtual void pause(); virtual void setBufferSamples(int samples); virtual void inputParametersChanged(); private: QAudioOutput* m_audioOutput; AudioDevice* m_device; }; } #endif