mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
fixes #123 by displaying the Audio test in the GUI
* added methods to get results in context * added signal to indicate audio test completed * updated GUI to display results * changed test run methods to non-const to be consistent with voice lib * Logic in GUI to avoid parallel / interfering tests * Fixed wrong Q_ASSERT message and QTimer::singleShot in voice_vatlib.cpp
This commit is contained in:
@@ -159,12 +159,22 @@ namespace BlackCore
|
||||
/*!
|
||||
* \copydoc IContextVoice::runMicrophoneTest()
|
||||
*/
|
||||
virtual void runMicrophoneTest() const;
|
||||
virtual void runMicrophoneTest();
|
||||
|
||||
/*!
|
||||
* \copydoc IContextVoice::runSquelchTest()
|
||||
*/
|
||||
virtual void runSquelchTest() const;
|
||||
virtual void runSquelchTest();
|
||||
|
||||
/*!
|
||||
* \copydoc IContextVoice::getMicrophoneTestResult()
|
||||
*/
|
||||
virtual QString getMicrophoneTestResult() const;
|
||||
|
||||
/*!
|
||||
* \copydoc IContextVoice::getSquelchValue()
|
||||
*/
|
||||
virtual double getSquelchValue() const;
|
||||
|
||||
private:
|
||||
CVoiceVatlib *m_voice; //!< underlying voice lib
|
||||
|
||||
Reference in New Issue
Block a user