Update audioengine.h

Header class for the new cpp that supports Bluetooth

Signed-off-by: rohithzmoi <166651631+rohithzmoi@users.noreply.github.com>
This commit is contained in:
rohithzmoi 2024-09-14 19:09:55 +05:30 committed by GitHub
parent 823261b041
commit db0babe508
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
/* /*
Copyright (C) 2019-2021 Doug McLain Copyright (C) 2019-2021 Doug McLain
Modified Copyright (C) 2024 Rohith Namboothiri
This program is free software: you can redistribute it and/or modify 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 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 *, int);
uint16_t read(int16_t *); uint16_t read(int16_t *);
uint16_t level() { return m_maxlevel; } uint16_t level() { return m_maxlevel; }
public slots:
void onAudioOutputChanged();
signals: signals:
private: private:
QString m_outputdevice; QString m_outputdevice;
QMediaDevices *m_mediaDevices;
QString m_inputdevice; QString m_inputdevice;
#if QT_VERSION < QT_VERSION_CHECK(6, 3, 0) #if QT_VERSION < QT_VERSION_CHECK(6, 3, 0)
QAudioOutput *m_out; QAudioOutput *m_out;