summaryrefslogtreecommitdiffstats
path: root/ta
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-05 01:23:09 +0100
committerwm4 <wm4@nowhere>2014-12-05 01:23:09 +0100
commitd6606bcfffdb2b86b69d856bc9fbc2856f63022d (patch)
tree44114449e9c3dac9f2794aecf18cbbfe440860dc /ta
parentbc1b9aa9842f6008242d1b653b63b1d580df9fab (diff)
downloadmpv-d6606bcfffdb2b86b69d856bc9fbc2856f63022d.tar.bz2
mpv-d6606bcfffdb2b86b69d856bc9fbc2856f63022d.tar.xz
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 'ta')
0 files changed, 0 insertions, 0 deletions