mpv/player
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
..
lua ytdl: Error out with http_dash_segments 2016-07-30 19:02:39 +02:00
audio.c audio: use --audio-channels=auto behavior, except on ALSA 2016-08-04 20:49:20 +02:00
client.c build: silence -Wunused-result 2016-06-07 14:12:33 +02:00
client.h global: add client API pointer to library handle 2016-01-15 22:54:08 +01:00
command.c audio: refactor mixer code and delete mixer.c 2016-07-17 19:21:28 +02:00
command.h player: rewrite deinterlace filter auto-insertion 2016-07-05 21:10:26 +02:00
configfiles.c audio: drop --softvol=no and --softvol=auto 2016-07-09 18:31:18 +02:00
core.h player: offset demuxer on start/seek properly with audio/sub delay 2016-08-04 11:26:57 +02:00
external_files.c ta: remove old and redundant macro 2016-05-17 10:53:14 +02:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
lavfi.c lavfi: shut up false positive compiler warnings 2016-04-26 19:38:51 +02:00
lavfi.h player: add complex filter graph support 2016-02-05 23:19:56 +01:00
loadfile.c player: offset demuxer on start/seek properly with audio/sub delay 2016-08-04 11:26:57 +02:00
lua.c osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
main.c audio: use --audio-channels=auto behavior, except on ALSA 2016-08-04 20:49:20 +02:00
misc.c player: offset demuxer on start/seek properly with audio/sub delay 2016-08-04 11:26:57 +02:00
osd.c player: do not cut off terminal status line if it contains newlines 2016-07-15 18:58:36 +02:00
playloop.c player: offset demuxer on start/seek properly with audio/sub delay 2016-08-04 11:26:57 +02:00
screenshot.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
screenshot.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
scripting.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
sub.c osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
video.c player: disable DS with spdif transcoding too 2016-07-24 19:19:24 +02:00