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

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2013-03-01 00:30:51 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2013-03-01 00:30:51 +0400
commit73142b100adebe4321d3919ab657f510b7cfe40d (patch)
tree7b72a61587dca9c419ead39dc073c0fd5a4271d8 /src/analysis.h
parent742aac10568839e08e5ee9fe3e92ba587c63e374 (diff)
Makes the speech/music probability estimation mode conservativeexp_analysis
This is done using an adaptive beta and an estimate of the speech and music detection confidence
Diffstat (limited to 'src/analysis.h')
-rw-r--r--src/analysis.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis.h b/src/analysis.h
index 37a8bf40..7b17118c 100644
--- a/src/analysis.h
+++ b/src/analysis.h
@@ -65,6 +65,10 @@ typedef struct {
int analysis_offset;
float pspeech[DETECT_SIZE];
float pmusic[DETECT_SIZE];
+ float speech_confidence;
+ float music_confidence;
+ int speech_confidence_count;
+ int music_confidence_count;
int write_pos;
int read_pos;
int read_subframe;