From 73142b100adebe4321d3919ab657f510b7cfe40d Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Thu, 28 Feb 2013 15:30:51 -0500 Subject: Makes the speech/music probability estimation mode conservative This is done using an adaptive beta and an estimate of the speech and music detection confidence --- src/analysis.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/analysis.h') 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; -- cgit v1.2.3