Improve source stream looping behavior
commit15da5c1f6d909082e012469392353f9b1e084cf7
authorChris Robinson <chris.kcat@gmail.com>
Fri, 1 Dec 2017 21:51:22 +0000 (1 13:51 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Fri, 1 Dec 2017 21:51:22 +0000 (1 13:51 -0800)
tree4d2ce1803eb3852b3b93eff558536e3c8d3d7dd8
parentb7fd8dd9fee94aedcc757aa9a758d539dfe46f32
Improve source stream looping behavior

It now acts more like non-streaming, where if a read ends on the loop end it'll
jump back to the loop start right away, rather than after the next (0-length)
read. It also better handles seek failures, now breaking the loop and trying to
continue playing to the end.
src/source.cpp