# HG changeset patch
# User Mychaela Falconia <falcon@freecalypso.org>
# Date 1715550299 0
# Node ID 0c4e1bc067402f47cf4b8a62f14ff1384dab0b7f
# Parent  026bdc1f0ddafa9c4dd2d47c1ed43e200a3c00d3
amrefr-encode-r: use the new DHF xform that matches T-Mobile

diff -r 026bdc1f0dda -r 0c4e1bc06740 amrefr/encode-r.c
--- a/amrefr/encode-r.c	Sun May 12 21:43:35 2024 +0000
+++ b/amrefr/encode-r.c	Sun May 12 21:44:59 2024 +0000
@@ -47,7 +47,7 @@
 		if (!rc)
 			break;
 		amr_encode_frame(state, MR122, pcm, &amr_frame);
-		amr_dhf_subst_efr(&amr_frame);
+		amr_dhf_subst_efr2(&amr_frame, pcm);
 		EFR_params2frame(amr_frame.param, efr_frame);
 		fwrite(efr_frame, 1, sizeof efr_frame, binf);
 	}