0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/audio/filter
wm4 0b144eac39 audio: use --audio-channels=auto behavior, except on ALSA
This commit adds an --audio-channel=auto-safe mode, and makes it the
default. This mode behaves like "auto" with most AOs, except with
ao_alsa. The intention is to allow multichannel output by default on
sane APIs. ALSA is not sane as in it's so low level that it will e.g.
configure any layout over HDMI, even if the connected A/V receiver does
not support it. The HDMI fuckup is of course not ALSA's fault, but other
audio APIs normally isolate applications from dealing with this and
require the user to globally configure the correct output layout.

This will help with other AOs too. ao_lavc (encoding) is changed to the
new semantics as well, because it used to force stereo (perhaps because
encoding mode is supposed to produce safe files for crap devices?).
Exclusive mode output on Windows might need to be adjusted accordingly,
as it grants the same kind of low level access as ALSA (requires more
research).

In addition to the things mentioned above, the --audio-channels option
is extended to accept a set of channel layouts. This is supposed to be
the correct way to configure mpv ALSA multichannel output. You need to
put a list of channel layouts that your A/V receiver supports.
2016-08-04 20:49:20 +02:00
..
af_channels.c Update license headers 2015-04-13 12:10:01 +02:00
af_delay.c Update license headers 2015-04-13 12:10:01 +02:00
af_drc.c audio/filter: remove reentrancy flag 2015-09-20 14:44:44 +02:00
af_equalizer.c audio/filter: remove reentrancy flag 2015-09-20 14:44:44 +02:00
af_format.c audio: use --audio-channels=auto behavior, except on ALSA 2016-08-04 20:49:20 +02:00
af_lavcac3enc.c af_lavcac3enc: skip output if there was no input frame 2016-08-02 22:06:22 +02:00
af_lavfi.c audio: move mp_audio->AVFrame conversion to a function 2016-01-29 22:43:00 +01:00
af_lavrresample.c audio: cleanup audio filter format negotiation 2016-07-10 19:51:09 +02:00
af_pan.c Update license headers 2015-04-13 12:10:01 +02:00
af_rubberband.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
af_scaletempo.c audio: do not require full audio chain reinit for speed changes 2015-11-04 21:49:54 +01:00
af_volume.c af_volume: don't let softvol overwrite af_volume volumedb sub-option 2016-07-11 11:03:36 +02:00
af.c af: avoid rebuilding filter chain in another minor case 2016-07-15 13:04:17 +02:00
af.h audio: cleanup audio filter format negotiation 2016-07-10 19:51:09 +02:00
equalizer.h Update license headers 2015-04-13 12:10:01 +02:00
tools.c af: move af_from_dB() function to af_volume.c 2015-06-23 15:11:23 +02:00