mpv/audio/decode
wm4 f7a427676c audio: add some setters for mp_audio, and require filters to use them
mp_audio has some redundant fields. Setters like mp_audio_set_format()
initialize these properly.

Also move the mp_audio struct to a the file audio.c.

We can remove a mysterious line of code from af.c:

    in.format |= af_bits2fmt(in.bps * 8);

I'm not sure if this was ever actually needed, or if it was some kind of
"make it work" quick-fix that works against the way things were supposed
to work. All filters etc. now set the format correctly, so if there ever
was a need for this code, it's definitely gone.
2013-05-12 21:24:54 +02:00
..
ad.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
ad.h audio: remove float processing option 2013-04-13 04:21:28 +02:00
ad_internal.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
ad_lavc.c options: add option to prevent decoder audio downmixing 2013-04-13 04:21:30 +02:00
ad_mpg123.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
ad_spdif.c Prefix CODEC_ID_ with AV_ 2013-03-13 23:51:30 +01:00
dec_audio.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
dec_audio.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00