1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00
mpv/audio
wm4 3af094062e ao_alsa: add magic spdif parameters
I have no idea what these do, but apparently they are needed to inform
ALSA about spdif configuration. First, replace the literal constant "6"
for the AES0 parameter with the symbolic constants from the ALSA
headers (the final value is the same). Second, copy paste some funky
looking parameter setup from VLC's alsa output for setting the AES1,
AES2, AES3 parameters. (The code is actually not literally copy-pasted,
but does exactly the same.)

My small but non-zero hope is that this could make DTS-HD work, or at
least work into that direction. I can't test spdif stuff though, and
for DTS-HD not even opening the ALSA device succeeds on my system.
2013-11-09 01:30:02 +01:00
..
decode ad_spdif: fix libavformat API usage 2013-11-09 01:27:03 +01:00
filter af: always remove auto-inserted filters, improve error message 2013-11-09 01:27:03 +01:00
out ao_alsa: add magic spdif parameters 2013-11-09 01:30:02 +01:00
audio.c audio: replace af_fmt2str_short -> af_fmt_to_str 2013-11-07 22:12:36 +01:00
audio.h audio/filters: add af_force 2013-05-12 21:24:56 +02:00
chmap_sel.c ao_jack: allow more control about channel layouts 2013-07-07 18:37:55 +02:00
chmap_sel.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
chmap.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
fmt-conversion.c audio: stop "unsupported sample format" spam 2013-11-07 22:34:03 +01:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio/format: convert format macros to enum, drop NE suffix 2013-11-07 22:13:20 +01:00
format.h audio/format: convert format macros to enum, drop NE suffix 2013-11-07 22:13:20 +01:00
mixer.c audio/out: remove useless info struct and redundant fields 2013-10-23 19:30:02 +02:00
mixer.h command: don't allow changing volume if no audio initialized 2013-10-12 18:57:02 +02:00
reorder_ch.c audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00
reorder_ch.h audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00