Lines Matching refs:st
127 the pointer to state struct in *st. This pointer has to be passed to sid_sync
258 Word16 sid_sync_reset(void *st)
260 sid_syncState *state = (sid_syncState *) st;
337 sid_syncState **st = (sid_syncState **) state;
339 if (st == NULL || *st == NULL)
345 free(*st);
346 *st = NULL;
361 st = pointer to the state structure used for SID synchronization
366 st->sid_handover_debt is set to debtFrames
419 void sid_sync_set_handover_debt(sid_syncState *st,
423 st->sid_handover_debt = debtFrames;
500 sid_syncState *st = (sid_syncState *) state;
505 st->sid_update_counter--;
507 if (st->prev_ft == TX_SPEECH_GOOD)
510 st->sid_update_counter = 3;
515 if ((st->sid_handover_debt > 0) &&
516 (st->sid_update_counter > 2))
521 st->sid_handover_debt--;
525 if (st->sid_update_counter == 0)
528 st->sid_update_counter = st->sid_update_rate;
539 st->sid_update_counter = st->sid_update_rate ;
542 st->prev_ft = *tx_frame_type;