a2dp: reorder codecs a little

Move higher quality codecs first.
This commit is contained in:
Wim Taymans 2020-12-09 20:56:29 +01:00
parent 2b507cbe79
commit 0237821b38

View file

@ -66,20 +66,20 @@ extern struct a2dp_codec a2dp_codec_aptx_hd;
#endif
const struct a2dp_codec *a2dp_codec_list[] = {
&a2dp_codec_sbc,
#if ENABLE_LDAC
&a2dp_codec_ldac,
#endif
#if ENABLE_APTX
&a2dp_codec_aptx,
&a2dp_codec_aptx_hd,
#endif
#if ENABLE_AAC
&a2dp_codec_aac,
#endif
#if ENABLE_MP3
&a2dp_codec_mpeg,
#endif
#if ENABLE_APTX
&a2dp_codec_aptx,
&a2dp_codec_aptx_hd,
#endif
&a2dp_codec_sbc,
NULL,
};
const struct a2dp_codec **a2dp_codecs = a2dp_codec_list;