diff options
author | Johns <johns98@gmx.net> | 2012-02-04 16:38:10 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-02-04 16:38:10 +0100 |
commit | 8db8b68edd6043b73fbe601a9567b0d4979b7195 (patch) | |
tree | dbf6c95913d86844ba928fce6a685115804d8f74 /audio.c | |
parent | 00cafd18edd2b5624c8ba8f7f2924b1fb1e1644c (diff) | |
download | vdr-plugin-softhddevice-8db8b68edd6043b73fbe601a9567b0d4979b7195.tar.gz vdr-plugin-softhddevice-8db8b68edd6043b73fbe601a9567b0d4979b7195.tar.bz2 |
Makes Workarounds command line configurable.
Diffstat (limited to 'audio.c')
-rw-r--r-- | audio.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -123,6 +123,8 @@ static const AudioModule NoopModule; ///< forward definition of noop module // Variables //---------------------------------------------------------------------------- +char AudioAlsaDriverBroken; ///< disable broken driver message + static const char *AudioModuleName; ///< which audio module to use /// Selected audio module. @@ -334,7 +336,9 @@ static int AlsaPlayRingbuffer(void) if (first) { // happens with broken alsa drivers if (AudioThread) { - Error(_("audio/alsa: broken driver %d\n"), avail); + if (!AudioAlsaDriverBroken) { + Error(_("audio/alsa: broken driver %d\n"), avail); + } usleep(5 * 1000); } } |