the sign of a voice frame in the AMR codec
lonelysurfer
lonelysurfer at web.de
Thu Jul 12 13:28:51 CEST 2012
Hi Bob,
I tried efr and fr in airprobe and your decoder but also without success.
My filter for non voice frames is :
/* Unpack (ignore hu/hl) */
osmo_pbit2ubit_ext(bt, 0, bi->bits, 0, 57, 0);
osmo_pbit2ubit_ext(bt, 57, bi->bits, 57, 57, 0);
/* save stealing flags */
bt[114] = !!(bi->bits[14] & 0x10); // hl
bt[115] = !!(bi->bits[14] & 0x20); // hu
if (bt[114] || bt[115]) {
// printf("might be FACCH %x , %x\n", bt[114], bt[115]);
return;
}
You using the first 8 bits for indicating? Can you explain this?
--
View this message in context: http://baseband-devel.722152.n3.nabble.com/the-sign-of-a-voice-frame-in-the-AMR-codec-tp4025161p4025167.html
Sent from the baseband-devel mailing list archive at Nabble.com.
More information about the baseband-devel
mailing list