diff options
Diffstat (limited to 'test/run_output.cxx')
-rw-r--r-- | test/run_output.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx index e6c11669d..345127556 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -26,7 +26,7 @@ #include "Idle.hxx" #include "Main.hxx" #include "event/Loop.hxx" -#include "IOThread.hxx" +#include "ScopeIOThread.hxx" #include "fs/Path.hxx" #include "AudioParser.hxx" #include "pcm/PcmConvert.hxx" @@ -179,8 +179,7 @@ int main(int argc, char **argv) EventLoop event_loop; - io_thread_init(); - io_thread_start(); + const ScopeIOThread io_thread; /* initialize the audio output */ @@ -205,8 +204,6 @@ int main(int argc, char **argv) audio_output_free(ao); - io_thread_deinit(); - config_global_finish(); return success ? EXIT_SUCCESS : EXIT_FAILURE; |