test/*: use class EventThread instead of ScopeIOThread
This commit is contained in:
@@ -26,8 +26,7 @@
|
||||
#include "config/ConfigOption.hxx"
|
||||
#include "Idle.hxx"
|
||||
#include "Main.hxx"
|
||||
#include "event/Loop.hxx"
|
||||
#include "ScopeIOThread.hxx"
|
||||
#include "event/Thread.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
#include "AudioParser.hxx"
|
||||
#include "ReplayGainConfig.hxx"
|
||||
@@ -136,14 +135,14 @@ try {
|
||||
config_global_init();
|
||||
ReadConfigFile(config_path);
|
||||
|
||||
EventLoop event_loop;
|
||||
|
||||
const ScopeIOThread io_thread;
|
||||
EventThread io_thread;
|
||||
io_thread.Start();
|
||||
|
||||
/* initialize the audio output */
|
||||
|
||||
DummyAudioOutputClient client;
|
||||
AudioOutput *ao = load_audio_output(event_loop, client, argv[2]);
|
||||
AudioOutput *ao = load_audio_output(io_thread.GetEventLoop(), client,
|
||||
argv[2]);
|
||||
|
||||
/* parse the audio format */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user