fix opus stereo test, opus is really bad with stereo from a signal standpoint.

This commit is contained in:
Simon Morlat 2015-09-11 15:00:05 +02:00
parent d4c7652338
commit 4abc46f753
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit f867353887f9091d6b16958c3a859be5523ba9f7
Subproject commit ec510dc8e9f01e717acce3e37538e7a49344a062

View file

@ -4319,7 +4319,7 @@ static void simple_stereo_call(const char *codec_name, int clock_rate, int bitra
}else{
#if !defined(__arm__) && !defined(__arm64__) && !TARGET_IPHONE_SIMULATOR && !defined(ANDROID)
double similar;
double min_threshold = .7f;
double min_threshold = .6f;
double max_threshold = 1.f;
if (!stereo){
/*when opus doesn't transmit stereo, the cross correlation is around 0.54 : as expected, it is not as good as in full stereo mode*/