1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
mpv/audio
wm4 2dd2d9bcfc audio/decode: remove ad_pcm and use ad_lavc for PCM
Since libavcodec doesn't have a "generic" PCM decoder, we have to go out
of out way to make it look like ad_lavc provides one: make it provide a
pseudo "pcm" decoder, which maps some format tags manually to the
individual libavcodec PCM decoders.

Format tags which uniquely map to one libavcodec could be mapped via
codecs.conf. Since defining these in tag_map[] is much shorter (one line
vs. a full codec entry in codecs.conf), and since we need tag_map[]
anyway, we don't use codecs.conf for these.

ad_pcm is evil because it still does partial packet reads (with
demux_read_data()), and it's redundant to libavcodec anyway.
2012-12-11 00:37:54 +01:00
..
decode audio/decode: remove ad_pcm and use ad_lavc for PCM 2012-12-11 00:37:54 +01:00
filter audio: make AC3 pass-through with ad_spdif work 2012-12-03 21:08:52 +01:00
out audio: make AC3 pass-through with ad_spdif work 2012-12-03 21:08:52 +01:00
format.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
format.h audio: make AC3 pass-through with ad_spdif work 2012-12-03 21:08:52 +01:00
mixer.c mixer: fix lowering hw volume while muted 2012-11-14 00:46:15 +01:00
mixer.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
reorder_ch.c af_lavcac3enc, encode: support planar formats 2012-12-03 20:16:17 +01:00
reorder_ch.h af_lavcac3enc, encode: support planar formats 2012-12-03 20:16:17 +01:00