alsa: Replace check for pending frames on eof by a barrier.
authorAndre Noll <maan@systemlinux.org>
Fri, 15 Jan 2010 19:19:30 +0000 (20:19 +0100)
committerAndre Noll <maan@systemlinux.org>
Fri, 15 Jan 2010 19:19:30 +0000 (20:19 +0100)
commit9366a7ddafa4738db0528050ff9080a5f15a3ad7
tree3eb2b82b6d73e33160c1451b5d6d42caba5e1bed
parentbb52368cf859a9f22be987bfd6471ddf1ffb718a
alsa: Replace check for pending frames on eof by a barrier.

The old code could lead to a an endless loop where the alsa writer
would never be unscheduled.
alsa_write.c