test/le-audio: fix modplayer / sine toggle

This commit is contained in:
Matthias Ringwald 2023-10-14 17:32:27 +02:00
parent 6c3284274d
commit 14036cc8ea

View File

@ -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':