mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 09:08:06 +00:00
test/le-audio: fix modplayer / sine toggle
This commit is contained in:
parent
6c3284274d
commit
14036cc8ea
@ -383,7 +383,17 @@ static void stdin_process(char c){
|
||||
|
||||
break;
|
||||
case 't':
|
||||
audio_source = 1 - audio_source;
|
||||
switch (audio_source){
|
||||
case AUDIO_SOURCE_MODPLAYER:
|
||||
audio_source = AUDIO_SOURCE_SINE;
|
||||
break;
|
||||
case AUDIO_SOURCE_SINE:
|
||||
audio_source = AUDIO_SOURCE_MODPLAYER;
|
||||
break;
|
||||
default:
|
||||
btstack_unreachable();
|
||||
break;
|
||||
}
|
||||
print_config();
|
||||
break;
|
||||
case '\n':
|
||||
|
Loading…
Reference in New Issue
Block a user