mirror of
https://gitlab.com/ecodis/exhale.git
synced 2025-01-23 20:20:52 +01:00
fix HF TNS bug
This commit is contained in:
parent
1582d8909e
commit
449c37e9ea
@ -433,7 +433,7 @@ unsigned ExhaleEncoder::applyTnsToWinGroup (TnsData& tnsData, SfbGroupData& grpD
|
||||
|
||||
while (grpSO[tnsStartSfb] < tnsStartOffs) tnsStartSfb++; // start band for TNS filter
|
||||
}
|
||||
tnsMaxBands = __min (tnsMaxBands, maxSfb);
|
||||
if ((tnsMaxBands = __min (tnsMaxBands, maxSfb)) <= tnsStartSfb) tnsStartSfb = numSwbWin;
|
||||
|
||||
if ((tnsData.filterLength[0] = __max (0, numSwbWin - tnsStartSfb)) > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user