Add key to manually restart audio

This commit is contained in:
Lorenzooone
2024-05-11 05:21:17 +02:00
parent b48ec6cf17
commit 8c526e3747
5 changed files with 27 additions and 1 deletions

View File

@@ -441,6 +441,11 @@ bool WindowScreen::main_poll(SFEvent &event_data) {
audio_data->change_audio_volume(true);
break;
case 'n':
audio_data->request_audio_restart();
this->print_notification("Restarting audio...");
break;
default:
consumed = false;
break;