The playloop is the only thing that adjusts the timeout with a value other than 0, so nothing else needs to be changed.