Fix infinite loop in ALSA player when playing zero-length audio

Updates #1394.

Originally committed to SVN as r6339.
This commit is contained in:
Thomas Goyne 2012-01-22 18:18:07 +00:00
parent e026d2a60a
commit c8099decf3

View file

@ -201,6 +201,8 @@ do_setup:
if (ps.signal_start == false || ps.end_position <= ps.start_position)
{
printf("alsa_player: nothing to play, rewaiting\n");
ps.signal_start = false;
continue;
}