mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +08:00
[AFV] Ref T739, adv. UI component to start/stop audio and distributed audio
This commit is contained in:
committed by
Mat Sutcliffe
parent
767b999330
commit
b9acf794d8
@@ -11,6 +11,8 @@
|
||||
#ifndef BLACKGUI_COMPONENTS_AUDIOADVANCEDDISTRIBUTEDCOMPONENT_H
|
||||
#define BLACKGUI_COMPONENTS_AUDIOADVANCEDDISTRIBUTEDCOMPONENT_H
|
||||
|
||||
#include "blackmisc/audio/audiodeviceinfo.h"
|
||||
|
||||
#include <QFrame>
|
||||
#include <QScopedPointer>
|
||||
|
||||
@@ -33,8 +35,20 @@ namespace BlackGui
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CAudioAdvancedDistributedComponent> ui;
|
||||
|
||||
//! Audio start/stop
|
||||
void toggleAudioStartStop();
|
||||
|
||||
//! Start/stop button
|
||||
void setStartButton();
|
||||
|
||||
void onAudioStarted(const BlackMisc::Audio::CAudioDeviceInfo &inputDevice, const BlackMisc::Audio::CAudioDeviceInfo &outputDevice);
|
||||
void onAudioStoppend();
|
||||
|
||||
//! Contexts
|
||||
static bool hasContexts();
|
||||
};
|
||||
}
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user