0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/audio/filter
wm4 5b5a3d0c46 audio: remove swapped-endian spdif formats
IEC 61937 frames should always be little endian (little endian 16 bit
words). I don't see any apparent need why the audio chain should handle
swapped-endian formats.

It could be that some audio outputs might want them (especially on big
endian architectures). On the other hand, it's not clear how that works
on these architectures, and it's not even known whether the current code
works on big endian at all. If something should break, and it should
turn out that swapped-endian spdif is needed on any platform/AO,
swapping still could be done in-place within the affected AO, and
there's no need for the additional complexity in the rest of the player.

Note that af_lavcac3enc outputs big endian spdif frames for unknown
reasons. Normally, the resulting data is just pulled through an auto-
inserted conversion filter and turned into little endian. Maybe this was
done as a trick so that the code didn't have to byte-swap the actual
audio frame. In any case, just make it output little endian frames.

All of this is untested, because I have no receiver hardware.
2014-09-23 19:34:14 +02:00
..
af_bs2b.c Add more const 2014-06-11 00:39:14 +02:00
af_center.c Add more const 2014-06-11 00:39:14 +02:00
af_channels.c Add more const 2014-06-11 00:39:14 +02:00
af_convert24.c Add more const 2014-06-11 00:39:14 +02:00
af_convertsignendian.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
af_delay.c Add more const 2014-06-11 00:39:14 +02:00
af_drc.c Add more const 2014-06-11 00:39:14 +02:00
af_dummy.c Add more const 2014-06-11 00:39:14 +02:00
af_equalizer.c Add more const 2014-06-11 00:39:14 +02:00
af_export.c Add more const 2014-06-11 00:39:14 +02:00
af_extrastereo.c Add more const 2014-06-11 00:39:14 +02:00
af_format.c Add more const 2014-06-11 00:39:14 +02:00
af_hrtf.c af_hrtf: initialize coefficient arrays 2014-09-19 21:16:42 +02:00
af_hrtf.h Kill all tabs 2014-04-13 18:03:01 +02:00
af_karaoke.c Add more const 2014-06-11 00:39:14 +02:00
af_ladspa.c Add more const 2014-06-11 00:39:14 +02:00
af_lavcac3enc.c audio: remove swapped-endian spdif formats 2014-09-23 19:34:14 +02:00
af_lavfi.c Improve setting AVOptions 2014-08-02 03:12:33 +02:00
af_lavrresample.c af_lavrresample: fix crash with size 0 2014-09-15 23:14:19 +02:00
af_pan.c Add more const 2014-06-11 00:39:14 +02:00
af_scaletempo.c Add more const 2014-06-11 00:39:14 +02:00
af_sinesuppress.c Add more const 2014-06-11 00:39:14 +02:00
af_sub.c Add more const 2014-06-11 00:39:14 +02:00
af_surround.c Add more const 2014-06-11 00:39:14 +02:00
af_sweep.c Add more const 2014-06-11 00:39:14 +02:00
af_volume.c af_volume: fix calculations including replay-gain 2014-06-28 15:56:16 +02:00
af.c audio: remove unused metadata field 2014-07-21 19:29:58 +02:00
af.h audio: remove unused metadata field 2014-07-21 19:29:58 +02:00
dsp.h Kill all tabs 2014-04-13 18:03:01 +02:00
equalizer.h Kill all tabs 2014-04-13 18:03:01 +02:00
filter.c Kill all tabs 2014-04-13 18:03:01 +02:00
filter.h Kill all tabs 2014-04-13 18:03:01 +02:00
tools.c Kill all tabs 2014-04-13 18:03:01 +02:00
window.c Kill all tabs 2014-04-13 18:03:01 +02:00
window.h Rename directories, move files (step 1 of 2) (does not compile) 2012-11-12 20:06:14 +01:00