attdet: Move to fixed point

This commit is contained in:
Antoine SOULIER
2022-05-04 16:03:54 +02:00
parent e471e43aeb
commit 0cec73a6fb
7 changed files with 30 additions and 30 deletions

View File

@@ -214,7 +214,7 @@ static void analyze(struct lc3_encoder *encoder,
/* --- Temporal --- */
bool att = lc3_attdet_run(dt, sr_pcm, nbytes, &encoder->attdet, xs);
bool att = lc3_attdet_run(dt, sr_pcm, nbytes, &encoder->attdet, xt);
side->pitch_present =
lc3_ltpf_analyse(dt, sr_pcm, &encoder->ltpf, xt, &side->ltpf);