RK SDK:RK3288_ANDROID7.1
问题描述:
使用u*** 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)
{
RK SDK:RK3288_ANDROID7.1
问题描述:
使用u*** 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)
{
举报