From e7426d5e719ec15da0972d5b5913f8a204819686 Mon Sep 17 00:00:00 2001 From: Lukasz Kotasa Date: Wed, 20 Sep 2023 12:19:50 +0000 Subject: [PATCH] libvoice-airoha: align codec list and ptime max with Airoha specs --- libvoice-airoha/files/lib/voice/codecs.json | 26 ++++----------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/libvoice-airoha/files/lib/voice/codecs.json b/libvoice-airoha/files/lib/voice/codecs.json index 811d4e490..c6dacad2b 100644 --- a/libvoice-airoha/files/lib/voice/codecs.json +++ b/libvoice-airoha/files/lib/voice/codecs.json @@ -2,7 +2,7 @@ "ulaw": { "name": "G.711MuLaw", "ptime_min": 10, - "ptime_max": 30, + "ptime_max": 60, "ptime_default": 20, "ptime_increment": 10, "bitrate": 64 @@ -10,7 +10,7 @@ "alaw": { "name": "G.711ALaw", "ptime_min": 10, - "ptime_max": 30, + "ptime_max": 60, "ptime_default": 20, "ptime_increment": 10, "bitrate": 64 @@ -18,7 +18,7 @@ "g726": { "name": "G.726", "ptime_min": 10, - "ptime_max": 30, + "ptime_max": 60, "ptime_default": 20, "ptime_increment": 10, "bitrate": 16, @@ -27,7 +27,7 @@ "g723": { "name": "G.723.1", "ptime_min": 10, - "ptime_max": 30, + "ptime_max": 60, "ptime_default": 30, "ptime_increment": 30, "bitrate": 5.3 @@ -35,27 +35,11 @@ "g729": { "name": "G.729", "ptime_min": 10, - "ptime_max": 30, + "ptime_max": 60, "ptime_default": 20, "ptime_increment": 10, "bitrate": 8 }, - "ilbc": { - "name": "iLBC", - "ptime_min": 10, - "ptime_max": 30, - "ptime_default": 20, - "ptime_increment": 30, - "bitrate": 15.2 - }, - "gsm": { - "name": "AMR", - "ptime_min": 10, - "ptime_max": 30, - "ptime_default": 20, - "ptime_increment": 20, - "bitrate": 12.2 - }, "g722": { "name": "G.722", "ptime_min": 10,