diff options
author | Max Kellermann <max@duempel.org> | 2014-01-28 23:39:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-29 08:10:18 +0100 |
commit | bf803e241f4f1210e7ed1e71895a561de81d7a94 (patch) | |
tree | d9894df2da6ad9478d5459f7a2af0974bf5a4979 /src/output/plugins/FifoOutputPlugin.cxx | |
parent | 8a8d023f90e057ae9b70377a132f4259b173d436 (diff) |
AudioOutput: pass plugin to constructor
Make it "const".
Diffstat (limited to 'src/output/plugins/FifoOutputPlugin.cxx')
-rw-r--r-- | src/output/plugins/FifoOutputPlugin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/plugins/FifoOutputPlugin.cxx b/src/output/plugins/FifoOutputPlugin.cxx index b4e649130..2c5151519 100644 --- a/src/output/plugins/FifoOutputPlugin.cxx +++ b/src/output/plugins/FifoOutputPlugin.cxx @@ -47,12 +47,12 @@ struct FifoOutput { Timer *timer; FifoOutput() - :path(AllocatedPath::Null()), input(-1), output(-1), + :base(fifo_output_plugin), + path(AllocatedPath::Null()), input(-1), output(-1), created(false) {} bool Initialize(const config_param ¶m, Error &error) { - return ao_base_init(&base, &fifo_output_plugin, param, - error); + return ao_base_init(&base, param, error); } bool Create(Error &error); |