summaryrefslogtreecommitdiff
path: root/src/output/plugins/sles
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-01-25 09:47:43 +0100
committerMax Kellermann <max@musicpd.org>2017-01-25 22:54:41 +0100
commit8fd9d919749319fd0c2f3e78cd8c5a2d8f2e3744 (patch)
tree1dcc84f4113ca91a7225a8133408e740124cbf65 /src/output/plugins/sles
parentd3f35dab1e52ca265b747ec3222c9616e408f8cf (diff)
output/Plugin: pass EventLoop& to init()
Eliminate dependency on io_thread_get().
Diffstat (limited to 'src/output/plugins/sles')
-rw-r--r--src/output/plugins/sles/SlesOutputPlugin.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/output/plugins/sles/SlesOutputPlugin.cxx b/src/output/plugins/sles/SlesOutputPlugin.cxx
index da88662cc..b00bf1909 100644
--- a/src/output/plugins/sles/SlesOutputPlugin.cxx
+++ b/src/output/plugins/sles/SlesOutputPlugin.cxx
@@ -91,7 +91,8 @@ public:
return &base;
}
- static SlesOutput *Create(const ConfigBlock &block);
+ static SlesOutput *Create(EventLoop &event_loop,
+ const ConfigBlock &block);
void Open(AudioFormat &audio_format);
void Close();
@@ -413,7 +414,7 @@ sles_test_default_device()
}
inline SlesOutput *
-SlesOutput::Create(const ConfigBlock &block)
+SlesOutput::Create(EventLoop &, const ConfigBlock &block)
{
return new SlesOutput(block);
}