summaryrefslogtreecommitdiff
path: root/audio.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-21 12:50:14 +0100
committerJohns <johns98@gmx.net>2011-12-22 18:01:17 +0100
commitafd7dfe40218fba6172625c51798787a48fce9af (patch)
treea543bc7592e91e5b717407fef5e5424f3e9acd55 /audio.c
parent37192d5b5394a9208a720058f704e433baa70aea (diff)
downloadvdr-plugin-softhddevice-afd7dfe40218fba6172625c51798787a48fce9af.tar.gz
vdr-plugin-softhddevice-afd7dfe40218fba6172625c51798787a48fce9af.tar.bz2
Initial vdpau support.
Diffstat (limited to 'audio.c')
-rw-r--r--audio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio.c b/audio.c
index ae6974f..c78a213 100644
--- a/audio.c
+++ b/audio.c
@@ -903,8 +903,10 @@ void AudioInit(void)
int chan;
#ifndef DEBUG
- // display alsa error messages
+ // disable display alsa error messages
snd_lib_error_set_handler(AlsaNoopCallback);
+#else
+ (void)AlsaNoopCallback;
#endif
AlsaRingBuffer = RingBufferNew(48000 * 8 * 2); // ~1s 8ch 16bit