raop: Prefer ALAC encoding to raw PCM if supported by server
authorMartin Blanchard <tchaik@gmx.com>
Sun, 6 Nov 2016 18:54:08 +0000 (12:54 -0600)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 19 Jan 2017 01:10:19 +0000 (03:10 +0200)
commit094906b3f9de5d2fda1e61e5aeec23fecf34efd4
tree2c4787f27ad0d49001faab69a69fe7a7dfe72454
parent8022e565810af61ffea436fcad8ef8085fc912aa
raop: Prefer ALAC encoding to raw PCM if supported by server

ALAC encoding is to be prefered simply because ALAC audio packet reverse-
engineering and implementation is in better shape than raw PCM. Sending ALAC
audio does not mean compressing audio and thus linking an external library to
do so. ALAC packets has the ability to carry uncompressed PCM frames, and
that's what is implemented at the time.
src/modules/raop/module-raop-discover.c