mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-09 21:45:54 +00:00
3rd-party/liblc3codec: fix encoder crash for 8_1
This commit is contained in:
parent
f0f51f7de4
commit
d65b03f501
@ -109,7 +109,7 @@ void SpectralNoiseShaping::run(const double* const X, const double* E_B, bool F_
|
|||||||
E_B_patched[i*2+0] = E_B[i];
|
E_B_patched[i*2+0] = E_B[i];
|
||||||
E_B_patched[i*2+1] = E_B[i];
|
E_B_patched[i*2+1] = E_B[i];
|
||||||
}
|
}
|
||||||
for (uint8_t i=0; i < lc3Config.N_b; i++)
|
for (uint8_t i=0; i < lc3Config.N_b - n2; i++)
|
||||||
{
|
{
|
||||||
E_B_patched[2*n2+i] = E_B[n2+i];
|
E_B_patched[2*n2+i] = E_B[n2+i];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user