mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-09 20:30:14 +02:00
audio added
This commit is contained in:
parent
3f129bda13
commit
364d193499
1 changed files with 44 additions and 13 deletions
|
@ -63,18 +63,6 @@ public:
|
||||||
void showMicMeter(bool show);
|
void showMicMeter(bool show);
|
||||||
void setInputVolume(float volume);
|
void setInputVolume(float volume);
|
||||||
|
|
||||||
/**jsdoc
|
|
||||||
* The Audio API features tools to help control audio contexts and settings.
|
|
||||||
*
|
|
||||||
* @namespace Audio
|
|
||||||
* @property {bool} muted - To Be Completed
|
|
||||||
* @property {bool} noiseReduction - To Be Completed
|
|
||||||
* @property {bool} inputVolume - To Be Completed
|
|
||||||
* @property {bool} inputLevel - To Be Completed
|
|
||||||
* @property {QString} context - To Be Completed
|
|
||||||
* @property {} devices - To Be Completed
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* To Be Completed
|
* To Be Completed
|
||||||
* @function Audio.setInputDevice
|
* @function Audio.setInputDevice
|
||||||
|
@ -104,18 +92,61 @@ public:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* To Be Completed
|
* To Be Completed
|
||||||
* @function Audio.setReverbOptions
|
* @function Audio.setReverbOptions
|
||||||
* @param {} options
|
* @param {string} filename
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE bool startRecording(const QString& filename);
|
Q_INVOKABLE bool startRecording(const QString& filename);
|
||||||
|
/**jsdoc
|
||||||
|
* To Be Completed
|
||||||
|
* @function Audio.stopRecording
|
||||||
|
*/
|
||||||
Q_INVOKABLE void stopRecording();
|
Q_INVOKABLE void stopRecording();
|
||||||
|
/**jsdoc
|
||||||
|
* To Be Completed
|
||||||
|
* @function Audio.getRecording
|
||||||
|
*/
|
||||||
Q_INVOKABLE bool getRecording();
|
Q_INVOKABLE bool getRecording();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
/**jsdoc
|
||||||
|
* To Be Completed
|
||||||
|
* @function Audio.nop
|
||||||
|
* @returns {signal}
|
||||||
|
*/
|
||||||
void nop();
|
void nop();
|
||||||
|
/**jsdoc
|
||||||
|
* To Be Completed
|
||||||
|
* @function Audio.nop
|
||||||
|
* @param {bool} isMuted
|
||||||
|
* @returns {signal}
|
||||||
|
*/
|
||||||
void mutedChanged(bool isMuted);
|
void mutedChanged(bool isMuted);
|
||||||
|
/**jsdoc
|
||||||
|
* To Be Completed
|
||||||
|
* @function Audio.noiseReductionChanged
|
||||||
|
* @param {bool} isEnabled
|
||||||
|
* @returns {signal}
|
||||||
|
*/
|
||||||
void noiseReductionChanged(bool isEnabled);
|
void noiseReductionChanged(bool isEnabled);
|
||||||
|
/**jsdoc
|
||||||
|
* To Be Completed
|
||||||
|
* @function Audio.inputVolumeChanged
|
||||||
|
* @param {float} volume
|
||||||
|
* @returns {signal}
|
||||||
|
*/
|
||||||
void inputVolumeChanged(float volume);
|
void inputVolumeChanged(float volume);
|
||||||
|
/**jsdoc
|
||||||
|
* To Be Completed
|
||||||
|
* @function Audio.inputLevelChanged
|
||||||
|
* @param {float} level
|
||||||
|
* @returns {signal}
|
||||||
|
*/
|
||||||
void inputLevelChanged(float level);
|
void inputLevelChanged(float level);
|
||||||
|
/**jsdoc
|
||||||
|
* To Be Completed
|
||||||
|
* @function Audio.contextChanged
|
||||||
|
* @param {string} context
|
||||||
|
* @returns {signal}
|
||||||
|
*/
|
||||||
void contextChanged(const QString& context);
|
void contextChanged(const QString& context);
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
Loading…
Reference in a new issue