diff options
author | 2014-12-05 01:23:09 +0100 | |
---|---|---|
committer | 2014-12-05 01:23:09 +0100 | |
commit | d6606bcfffdb2b86b69d856bc9fbc2856f63022d (patch) | |
tree | 44114449e9c3dac9f2794aecf18cbbfe440860dc /DOCS/man | |
parent | bc1b9aa9842f6008242d1b653b63b1d580df9fab (diff) |
ao_alsa: simplify, remove no-block suboption
If no-block was given, the device would be opened with SND_PCM_NOBLOCK.
Also, after opening, blocking mode was unconditionally enabled anyway
with snd_pcm_nonblock(). Further, if opening with SND_PCM_NOBLOCK
failed, opening was retried without this flag.
This doesn't make any sense to me, and I've never heard of someone using
this suboption. I suspect it has to do with ancient ALSA bugs or API
caveats. Remove it and simplify the code.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/ao.rst | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/DOCS/man/ao.rst b/DOCS/man/ao.rst index 27d0cfe3e9..3fada1a993 100644 --- a/DOCS/man/ao.rst +++ b/DOCS/man/ao.rst @@ -39,8 +39,6 @@ Available audio output drivers are: ``device=<device>`` Sets the device name. For ac3 output via S/PDIF, use an "iec958" or "spdif" device, unless you really know how to set it correctly. - ``no-block`` - Sets noblock-mode. ``resample=yes`` Enable ALSA resampling plugin. (This is disabled by default, because some drivers report incorrect audio delay in some cases.) |