diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index cda6d1077..67c76a981 100644 --- a/src/main.c +++ b/src/main.c @@ -491,6 +491,9 @@ int main(int argc, char * argv[]) { initSigHandlers(); readPlaylistState(); + /* qball crappy code */ + readAudioDevicesState(); + while(COMMAND_RETURN_KILL!=doIOForInterfaces()) { if(COMMAND_RETURN_KILL==handlePendingSignals()) break; syncPlayerAndPlaylist(); @@ -499,6 +502,10 @@ int main(int argc, char * argv[]) { } savePlaylistState(); + /* qball crappy code */ + saveAudioDevicesState(); + + playerKill(); freeAllInterfaces(); |