From 9f2ccfce8f0beec061554aabf2ff880b03ecdfcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Sun, 23 Dec 2018 11:40:15 +0100 Subject: [PATCH] a2dp-codecs: Fix codec id for ATRAC According to Bluetooth Assigned Numbers for Audio/Video ATRAC has codec id 0x04. See: https://www.bluetooth.com/specifications/assigned-numbers/audio-video --- profiles/audio/a2dp-codecs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/a2dp-codecs.h b/profiles/audio/a2dp-codecs.h index 205491939..25959902c 100644 --- a/profiles/audio/a2dp-codecs.h +++ b/profiles/audio/a2dp-codecs.h @@ -25,7 +25,7 @@ #define A2DP_CODEC_SBC 0x00 #define A2DP_CODEC_MPEG12 0x01 #define A2DP_CODEC_MPEG24 0x02 -#define A2DP_CODEC_ATRAC 0x03 +#define A2DP_CODEC_ATRAC 0x04 #define A2DP_CODEC_VENDOR 0xFF #define SBC_SAMPLING_FREQ_16000 (1 << 3) -- 2.47.3