diff options
author | Johns <johns98@gmx.net> | 2014-01-29 10:07:07 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2014-01-29 10:07:07 +0100 |
commit | 340e10a0eb66eff59581371d3bfcebb602da8046 (patch) | |
tree | 8274ad333300eef5b735d30e444dbc6136a38c67 /softhddev.c | |
parent | a45b9a3abe63ac2e3d196c0283692d1f92afe232 (diff) | |
download | vdr-plugin-softhddevice-340e10a0eb66eff59581371d3bfcebb602da8046.tar.gz vdr-plugin-softhddevice-340e10a0eb66eff59581371d3bfcebb602da8046.tar.bz2 |
Add Workaround for alsa blocking audio device.
Diffstat (limited to 'softhddev.c')
-rw-r--r-- | softhddev.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/softhddev.c b/softhddev.c index 2631df7..b88290e 100644 --- a/softhddev.c +++ b/softhddev.c @@ -2888,6 +2888,8 @@ const char *CommandLineHelp(void) "\tstill-hw-decoder\tenable hardware decoder for still-pictures\n" "\tstill-h264-hw-decoder\tenable h264 hw decoder for still-pictures\n" "\talsa-driver-broken\tdisable broken alsa driver message\n" + "-talsa-no-close-open\tdisable close open to fix alsa no sound bug\n" + "-talsa-close-open-delay\tenable close open delay to fix no sound bug\n" "\tignore-repeat-pict\tdisable repeat pict message\n" " -D\t\tstart in detached mode\n"; } @@ -2964,6 +2966,10 @@ int ProcessArgs(int argc, char *const argv[]) ConfigStillDecoder = 1; } else if (!strcasecmp("alsa-driver-broken", optarg)) { AudioAlsaDriverBroken = 1; + } else if (!strcasecmp("alsa-no-close-open", optarg)) { + AudioAlsaNoCloseOpen = 1; + } else if (!strcasecmp("alsa-close-open-delay", optarg)) { + AudioAlsaCloseOpenDelay = 1; } else if (!strcasecmp("ignore-repeat-pict", optarg)) { VideoIgnoreRepeatPict = 1; } else { |