summaryrefslogtreecommitdiff
path: root/palsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'palsa.c')
-rw-r--r--palsa.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/palsa.c b/palsa.c
index 978bdaaa..25284965 100644
--- a/palsa.c
+++ b/palsa.c
@@ -250,12 +250,14 @@ palsa_thread (uintptr_t context) {
// usleep (1000);
// continue;
// }
-
- if ((err = snd_pcm_wait (audio, 1000)) < 0) {
+ snd_pcm_wait (audio, 1000);
+#if 0
+ if ((err = ) < 0) {
mutex_unlock (mutex);
fprintf (stderr, "alsa poll failed (%s)\n", strerror (errno));
- continue;
+// continue;
}
+#endif
/* find out how much space is available for playback data */