1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 05:15:12 +00:00
mpv/audio/decode
wm4 b745c2d005 audio: drop swapped-endian audio formats
Until now, the audio chain could handle both little endian and big
endian formats. This actually doesn't make much sense, since the audio
API and the HW will most likely prefer native formats. Or at the very
least, it should be trivial for audio drivers to do the byte swapping
themselves.

From now on, the audio chain contains native-endian formats only. All
AOs and some filters are adjusted. af_convertsignendian.c is now wrongly
named, but the filter name is adjusted. In some cases, the audio
infrastructure was reused on the demuxer side, but that is relatively
easy to rectify.

This is a quite intrusive and radical change. It's possible that it will
break some things (especially if they're obscure or not Linux), so watch
out for regressions. It's probably still better to do it the bulldozer
way, since slow transition and researching foreign platforms would take
a lot of time and effort.
2014-09-23 23:09:25 +02:00
..
ad_lavc.c audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
ad_mpg123.c audio: change playback restart and resyncing 2014-07-28 21:20:37 +02:00
ad_spdif.c audio: remove swapped-endian spdif formats 2014-09-23 19:34:14 +02:00
ad.h audio: move initial decode to generic code 2014-07-21 19:29:58 +02:00
dec_audio.c audio: prefer libavcodec over libmpg123 2014-09-22 22:38:06 +02:00
dec_audio.h audio: ignore (some) decoding errors on initialization 2014-07-29 18:05:55 +02:00