0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/audio
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
..
decode audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
filter audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
out audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
audio.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
audio.h audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
chmap.c audio: add channel map API 2013-05-12 21:24:54 +02:00
chmap.h audio: add channel map API 2013-05-12 21:24:54 +02:00
fmt-conversion.c ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio: add some setters for mp_audio, and require filters to use them 2013-05-12 21:24:54 +02:00
format.h audio: remove support for native alaw/mulaw/adpcm output 2012-12-11 00:37:54 +01:00
mixer.c mplayer: keep volume persistent, even when using --volume 2013-04-10 21:29:04 +02:00
mixer.h mplayer: keep volume persistent, even when using --volume 2013-04-10 21:29:04 +02:00
reorder_ch.c audio: make de-planarization faster 2012-12-28 13:43:55 +01:00
reorder_ch.h audio: switch to libavcodec channel order, use libavresample for mixing 2013-04-13 04:21:28 +02:00