diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-09 17:07:35 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-09 17:07:35 +0200 |
commit | e0f3ee5a5836a5c9d49036191dc04e5c0db6e343 (patch) | |
tree | 3f33b3a98b12212700a18982f96e3088b15fa624 /plugins | |
parent | 110bc8baca380d9a880e675afb5b808259b85d14 (diff) |
hide -EPIPE error messages in alsa plugin
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/alsa/alsa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/alsa/alsa.c b/plugins/alsa/alsa.c index 2a2867b3..3d60c2d0 100644 --- a/plugins/alsa/alsa.c +++ b/plugins/alsa/alsa.c @@ -507,7 +507,9 @@ palsa_thread (void *context) { break; } else { - trace ("alsa: snd_pcm_writei error=%d, %s\n", err, snd_strerror (err)); + if (err != -EPIPE) { + trace ("alsa: snd_pcm_writei error=%d, %s\n", err, snd_strerror (err)); + } snd_pcm_prepare (audio); snd_pcm_start (audio); continue; |