amr_flush
static int amr_flush(struct amr_softs *softs);
(void) amr_flush(softs);
if (amr_flush(softs) != 0) {