jjtz 发表于 2024-7-28 22:15:02

qcc517x qcc308x qcc518x headset工程,关闭手机音量同步功能

本帖最后由 jjtz 于 2024-7-28 22:59 编辑

avInterface_AvrcpConfigureRole函数中,图片位置CSR_BT_AVRCP_CONFIG_SR_FEAT_CAT2_MON_AMP改为CSR_BT_AVRCP_CONFIG_SR_FEAT_CAT1_PLAY_REC,理论上支持qcc30xx qcc51xx所有headset工程。


static void avInterface_AvrcpConfigureRole(CsrBtAvrcpRoleDetails* ctFeatures, CsrBtAvrcpRoleDetails* tgFeatures)
{
    AvrcpConfigRoleSupport(tgFeatures,                                              /* Pointer to details */
                           CSR_BT_AVRCP_CONFIG_ROLE_STANDARD,                     /* Role config */
                           CSR_BT_AVRCP_CONFIG_SR_VERSION_16,                     /* AVRCP version */
                           CSR_BT_AVRCP_CONFIG_SR_FEAT_CAT2_MON_AMP,                /* Features */
                           (CsrCharString*)CsrStrDup(AVRCP_CONFIG_PROVIDER_NAME), /* Provider name */
                           (CsrCharString*)CsrStrDup("AVRCP TG"));                /* Service name */
    AvrcpConfigRoleSupport(ctFeatures,
                           CSR_BT_AVRCP_CONFIG_ROLE_STANDARD,
                           CSR_BT_AVRCP_CONFIG_SR_VERSION_16,
                           CSR_BT_AVRCP_CONFIG_SR_FEAT_CAT1_PLAY_REC,
                           (CsrCharString*)CsrStrDup(AVRCP_CONFIG_PROVIDER_NAME),
                           (CsrCharString*)CsrStrDup("AVRCP CT"));
}
**** Hidden Message *****


yc_ki 发表于 2024-7-29 08:29:49

感谢分享!

wujianwei369 发表于 2024-7-29 10:01:37

感谢分享

dxn 发表于 2024-7-29 10:02:42

谢谢分享

wgc2013 发表于 2024-7-29 11:04:51

学习一下:lol

qiujinkai 发表于 2024-7-29 11:40:06

感谢分享

moyanming2013 发表于 2024-7-29 11:44:23

谢谢

sen123456789 发表于 2024-7-29 15:37:47

---:D---

bluetooth_qcc 发表于 2024-7-29 16:15:52

看看

O2C14 发表于 2024-7-29 17:35:52

绝对音量?
页: [1] 2 3
查看完整版本: qcc517x qcc308x qcc518x headset工程,关闭手机音量同步功能