mpv/audio/out
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
..
ao.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao.h audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_alsa.c audio: remove swapped-endian spdif formats 2014-09-23 19:34:14 +02:00
ao_coreaudio.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_coreaudio_device.c audio: remove swapped-endian spdif formats 2014-09-23 19:34:14 +02:00
ao_coreaudio_properties.c
ao_coreaudio_properties.h ao_coreaudio: report hardware latency to ao_read_data 2014-07-03 20:05:15 +02:00
ao_coreaudio_utils.c ao_coreaudio: move channel mapping away from utils 2014-07-02 21:43:08 +02:00
ao_coreaudio_utils.h ao_coreaudio: move channel mapping away from utils 2014-07-02 21:43:08 +02:00
ao_dsound.c audio/out: always round get_space on period size 2014-09-06 12:59:00 +02:00
ao_jack.c audio/out/pull: remove race conditions 2014-05-29 02:24:17 +02:00
ao_lavc.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ao_null.c audio/out: always round get_space on period size 2014-09-06 12:59:00 +02:00
ao_openal.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_oss.c ao_oss: prevent hang when unpausing after device was lost 2014-09-17 00:33:40 +02:00
ao_pcm.c audio: remove swapped-endian spdif formats 2014-09-23 19:34:14 +02:00
ao_portaudio.c audio/out/pull: remove race conditions 2014-05-29 02:24:17 +02:00
ao_pulse.c ao_pulse: dump library version etc. 2014-09-10 23:14:06 +02:00
ao_rsound.c
ao_sdl.c audio/out/pull: remove race conditions 2014-05-29 02:24:17 +02:00
ao_sndio.c audio/out: always round get_space on period size 2014-09-06 12:59:00 +02:00
ao_wasapi.c audio/out: remove old things 2014-09-06 02:30:57 +02:00
ao_wasapi.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ao_wasapi_utils.c ao_wasapi: simplify nAvgBytesPerSec calculation 2014-05-28 21:38:15 +02:00
ao_wasapi_utils.h ao_wasapi: Move non-critical code outside of the event thread 2014-03-11 16:37:02 -03:00
internal.h audio/out: remove old things 2014-09-06 02:30:57 +02:00
pull.c audio/out: make EOF handling properly event-based 2014-09-05 23:45:54 +02:00
push.c audio/out: fix active waiting during pause again 2014-09-06 16:25:27 +02:00