mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-07 09:55:45 +00:00
a2dp source demo: fix playback stop when 'z' is hit twice
This commit is contained in:
parent
87e914e548
commit
63d7d357dc
@ -498,7 +498,7 @@ static void stdin_process(char cmd){
|
||||
status = a2dp_source_start_stream(media_tracker.a2dp_cid, media_tracker.local_seid);
|
||||
break;
|
||||
case 'z':
|
||||
if (data_source == STREAM_SINE) {
|
||||
if (data_source == STREAM_MOD) {
|
||||
printf("Already playing mode.\n");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user