Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mumble/AudioInput.h')
-rw-r--r--src/mumble/AudioInput.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mumble/AudioInput.h b/src/mumble/AudioInput.h
index b9dbb0c4e..0410db421 100644
--- a/src/mumble/AudioInput.h
+++ b/src/mumble/AudioInput.h
@@ -254,6 +254,14 @@ protected:
signals:
void doDeaf();
void doMute();
+ /// A signal emitted if audio input is being encountered
+ ///
+ /// @param inputPCM The encountered input PCM
+ /// @param sampleCount The amount of samples in the input
+ /// @param channelCount The amount of channels in the input
+ /// @param sampleRate The used sample rate in Hz
+ /// @param isSpeech Whether Mumble considers the inpu to be speech
+ void audioInputEncountered(short *inputPCM, unsigned int sampleCount, unsigned int channelCount, unsigned int sampleRate, bool isSpeech);
public:
typedef enum { ActivityStateIdle, ActivityStateReturnedFromIdle, ActivityStateActive } ActivityState;