Add AVRCP control volume up / down method
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-adaptation / services / audio / avrcp / bt-service-avrcp-ctrl.c
index 4c280d2..39d41d7 100644 (file)
@@ -166,6 +166,12 @@ int _bt_avrcp_control_cmd(int type)
                case RC_PASS_CMD_RELEASE_REWIND:
                        status = avrcp_ct_rewind((bt_address_t*)&device_address, RELEASE_STATE);
                        break;
+               case RC_PASS_CMD_VOLUME_UP:
+                       status = avrcp_ct_volume_up((bt_address_t*)&device_address);
+                       break;
+               case RC_PASS_CMD_VOLUME_DOWN:
+                       status = avrcp_ct_volume_down((bt_address_t*)&device_address);
+                       break;
                default:
                        break;
                }