mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-06 07:00:59 +00:00
a2dp sink demo: update api calls
This commit is contained in:
parent
8c79e1682c
commit
d112090976
@ -1052,19 +1052,19 @@ static void stdin_process(char cmd){
|
|||||||
break;
|
break;
|
||||||
case 'u':
|
case 'u':
|
||||||
printf(" - start fast forward\n");
|
printf(" - start fast forward\n");
|
||||||
status = avrcp_controller_start_fast_forward(avrcp_cid);
|
status = avrcp_controller_press_and_hold_fast_forward(avrcp_cid);
|
||||||
break;
|
break;
|
||||||
case 'U':
|
case 'U':
|
||||||
printf(" - stop fast forward\n");
|
printf(" - stop fast forward\n");
|
||||||
status = avrcp_controller_stop_fast_forward(avrcp_cid);
|
status = avrcp_controller_release_press_and_hold_cmd(avrcp_cid);
|
||||||
break;
|
break;
|
||||||
case 'n':
|
case 'n':
|
||||||
printf(" - start rewind\n");
|
printf(" - start rewind\n");
|
||||||
status = avrcp_controller_start_rewind(avrcp_cid);
|
status = avrcp_controller_press_and_hold_rewind(avrcp_cid);
|
||||||
break;
|
break;
|
||||||
case 'N':
|
case 'N':
|
||||||
printf(" - stop rewind\n");
|
printf(" - stop rewind\n");
|
||||||
status = avrcp_controller_stop_rewind(avrcp_cid);
|
status = avrcp_controller_release_press_and_hold_cmd(avrcp_cid);
|
||||||
break;
|
break;
|
||||||
case 'i':
|
case 'i':
|
||||||
printf(" - forward\n");
|
printf(" - forward\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user