RK SDK:RK3288_ANDROID7.1
問題描述:
使用usb audio進行voice通話,出現通話卡頓,感覺只能通一路,不能同時錄音放音。
處理:
USB帶寬不夠,system/media/alsa_utils/alsa_device_profile.c文件中修改採樣率,改成16K採樣率。
diff --git a/system/media/alsa_utils/alsa_device_profile.c b/alsa_utils/alsa_device_profile.c
old mode 100644
new mode 100755
index 79ffcfc..2309fc6
--- a/alsa_utils/alsa_device_profile.c
+++ b/alsa_utils/alsa_device_profile.c
@@ -56,7 +56,8 @@ extern int8_t const pcm_format_value_map[50];
TODO: remove 32000, 22050, 12000, 11025? Each sample rate check
requires opening the device which may cause pops. */
static const unsigned std_sample_rates[] =
- {96000, 88200, 192000, 176400, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000};
+ //{96000, 88200, 192000, 176400, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000};
+ {16000};
static void profile_reset(alsa_device_profile* profile)
{