diff options
author | Leonardo Taccari <iamleot@gmail.com> | 2018-10-23 15:22:09 +0200 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2019-09-21 15:38:46 +0200 |
commit | 3d911d8ef06ddf3992dd6e8e2dce3c1b915742f8 (patch) | |
tree | 67e061d9e697d0c75dc707b5e0cd1d1e07203dfa /player | |
parent | 48740dfec5303a390e223b0626daf4730f65f948 (diff) | |
download | mpv-3d911d8ef06ddf3992dd6e8e2dce3c1b915742f8.tar.bz2 mpv-3d911d8ef06ddf3992dd6e8e2dce3c1b915742f8.tar.xz |
ao_oss: Fallback to stereo when the device does not support >2 channels
ioctl(..., SNDCTL_DSP_CHANNELS, &nchannels) for not supported
nchannels does not return an error and instead set nchannels to
the default value.
Instead of failing with no audio, fallback to stereo.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions