diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-08-07 21:34:54 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-08-07 21:34:54 +0200 |
commit | 403128abb088f8db7d64ef00b965198192194e4a (patch) | |
tree | e5dd72fdf1ef2272df4797d14fdacfb161d5f2ab /palsa.c | |
parent | 1bbde0552f0bb95c60cd5bebc53a9194fcc11cdb (diff) |
fixed some alsa bugs, id3v2 recoding, playlist formatting performance problems
Diffstat (limited to 'palsa.c')
-rw-r--r-- | palsa.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 */ |