DTX: add flag for AMR HR P*
Add flag to explicitly track the state of DTX DL for AMR HR whe SID_FIRST_P1 has been sent to L1 already but no next frame available yet: this can be followed by SID_FIRST_P2 or SID_FIRST_INH depending on arrival of voice frame within next 60 ms. Change-Id: Id28b07b8e83cfe5e84de48a2f124084036580cd4
This commit is contained in:
parent
63c18ca791
commit
2d66bb2099
|
@ -300,9 +300,14 @@ struct gsm_lchan {
|
|||
uint32_t fn;
|
||||
bool is_update;
|
||||
} last_sid;
|
||||
/* FIXME: 2 flags below are mutually exclusive - is it worth it
|
||||
to merge them? */
|
||||
/* set for each SID frame to detect talkspurt for codecs without
|
||||
explicit ONSET event */
|
||||
bool ul_sid;
|
||||
/* set for each SID_FIRST_P1 sent to L1 but not followed by
|
||||
either of _P2 or InH */
|
||||
bool dl_fst;
|
||||
uint8_t last_cmr;
|
||||
uint32_t last_fn;
|
||||
/* indicates if DTXd was active during DL measurement period */
|
||||
|
|
Loading…
Reference in New Issue