From db0babe508e737d5da20c9e1658fb5f39352fccf Mon Sep 17 00:00:00 2001 From: rohithzmoi <166651631+rohithzmoi@users.noreply.github.com> Date: Sat, 14 Sep 2024 19:09:55 +0530 Subject: [PATCH] Update audioengine.h Header class for the new cpp that supports Bluetooth Signed-off-by: rohithzmoi <166651631+rohithzmoi@users.noreply.github.com> --- audioengine.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/audioengine.h b/audioengine.h index b294984..6560158 100644 --- a/audioengine.h +++ b/audioengine.h @@ -1,5 +1,6 @@ /* Copyright (C) 2019-2021 Doug McLain + Modified Copyright (C) 2024 Rohith Namboothiri This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -58,10 +59,14 @@ public: uint16_t read(int16_t *, int); uint16_t read(int16_t *); uint16_t level() { return m_maxlevel; } + +public slots: + void onAudioOutputChanged(); signals: private: QString m_outputdevice; + QMediaDevices *m_mediaDevices; QString m_inputdevice; #if QT_VERSION < QT_VERSION_CHECK(6, 3, 0) QAudioOutput *m_out;