fix 100% CPU load when idle with ALSA
authorJindrich Makovicka <makovick@gmail.com>
Sun, 17 Oct 2010 17:28:14 +0000 (19:28 +0200)
committermalc <av1474@comtv.ru>
Sun, 17 Oct 2010 20:39:02 +0000 (00:39 +0400)
commit22d948a2d97434192018bdabaf0a50cda7f994be
tree78452d341f2a4146f88c7eb8aa62df92584635ce
parentf871d6893a7bf8c14db162f6e75a5f8157e4c2bb
fix 100% CPU load when idle with ALSA

Playback control function did not disable polling when playback stops.
Caused busy spinning of the main loop due to unprocessed events.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: malc <av1474@comtv.ru>
audio/alsaaudio.c