static void audio_reset_timer (AudioState *s)

{

    if (audio_is_timer_needed ()) {

        timer_mod (s->ts,

            qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + conf.period.ticks);

    }

    else {

        timer_del (s->ts);

    }

}

static void audio_reset_timer (AudioState *s)

{

    if (audio_is_timer_needed ()) {

        timer_mod (s->ts,

            qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + conf.period.ticks);

    }

    else {

        timer_del (s->ts);

    }

}

static void FUNC_0 (AudioState *VAR_0)

{

    if (audio_is_timer_needed ()) {

        timer_mod (VAR_0->ts,

            qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + conf.period.ticks);

    }

    else {

        timer_del (VAR_0->ts);

    }

}

static void FUNC_0 (AudioState *VAR_0)
{ if (audio_is_timer_needed ()) { timer_mod (VAR_0->ts,
qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + conf.period.ticks); } else { timer_del (VAR_0->ts); } }