output/Plugin: pass EventLoop& to init()

Eliminate dependency on io_thread_get().
This commit is contained in:
Max Kellermann
2017-01-25 09:47:43 +01:00
parent d3f35dab1e
commit 8fd9d91974
24 changed files with 58 additions and 42 deletions

View File

@@ -65,7 +65,7 @@ class SolarisOutput {
device(block.GetBlockValue("device", "/dev/audio")) {}
public:
static SolarisOutput *Create(const ConfigBlock &block) {
static SolarisOutput *Create(EventLoop &, const ConfigBlock &block) {
return new SolarisOutput(block);
}