展示优化
This commit is contained in:
@@ -25,28 +25,13 @@ public:
|
||||
QString get_screenshot_save_dir_path();
|
||||
QString get_screenshot_save_file_name();
|
||||
QString get_audio_file_location();
|
||||
void stop_mock_thread() {
|
||||
++mock_generation;
|
||||
if (mock_timer) {
|
||||
mock_timer->stop();
|
||||
mock_timer->disconnect(this);
|
||||
mock_timer->deleteLater();
|
||||
mock_timer = nullptr;
|
||||
}
|
||||
if (mock_thread) {
|
||||
mock_thread->quit();
|
||||
mock_thread->wait();
|
||||
mock_thread = nullptr;
|
||||
}
|
||||
}
|
||||
void stop_mock_thread();
|
||||
Back_End(const Back_End&) = delete;
|
||||
Back_End& operator=(const Back_End&) = delete;
|
||||
void call_back_data_func(int channel, void *pData, int i_length);
|
||||
protected:
|
||||
Back_End();
|
||||
~Back_End() override {
|
||||
stop_mock_thread();
|
||||
}
|
||||
~Back_End() override;
|
||||
QTimer* mock_timer{};
|
||||
std::uint64_t mock_generation{};
|
||||
QThread* mock_thread{};
|
||||
|
||||
Reference in New Issue
Block a user