TPREW
if ((sc->flags & (TPACTIVE | TPREW | TPRMARK | TPWMARK)) == 0)
if (sc->flags & (TPACTIVE | TPREW | TPRMARK | TPWMARK))
if (sc->flags & TPREW)
sc->flags &= TPREW | TPRMARK | TPSTART | TPTIMER;
sc->flags |= TPSTART | TPREW;
if (sc->flags & TPREW) /* rewind is running */
if (sc->flags & TPREW) {
sc->flags &= ~TPREW; /* rewind finished */
sc->flags |= TPSTART | TPREW;
while (sc->flags & (TPACTIVE | TPREW | TPRMARK | TPWMARK))