a2dp sink demo: update api calls

This commit is contained in:
Milanka Ringwald 2018-04-27 15:45:50 +02:00
parent 8c79e1682c
commit d112090976

View File

@ -1052,19 +1052,19 @@ static void stdin_process(char cmd){
break;
case 'u':
printf(" - start fast forward\n");
status = avrcp_controller_start_fast_forward(avrcp_cid);
status = avrcp_controller_press_and_hold_fast_forward(avrcp_cid);
break;
case 'U':
printf(" - stop fast forward\n");
status = avrcp_controller_stop_fast_forward(avrcp_cid);
status = avrcp_controller_release_press_and_hold_cmd(avrcp_cid);
break;
case 'n':
printf(" - start rewind\n");
status = avrcp_controller_start_rewind(avrcp_cid);
status = avrcp_controller_press_and_hold_rewind(avrcp_cid);
break;
case 'N':
printf(" - stop rewind\n");
status = avrcp_controller_stop_rewind(avrcp_cid);
status = avrcp_controller_release_press_and_hold_cmd(avrcp_cid);
break;
case 'i':
printf(" - forward\n");