mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-25 08:06:30 +00:00

Automatically restarting playback once draining has completed could result in playback starting too early (i.e., before there is enough data in the ring buffer to avoid underrunning). `audio_playbackData` will keep invoking `start` until it returns true anyway, so we can just allow draining to complete normally and wait for `start` to be called again.