diff options
author | Max Kellermann <max@duempel.org> | 2015-01-07 19:20:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-07 19:20:09 +0100 |
commit | ec41caade4ce07aca9097cf8298c9da04eea35e2 (patch) | |
tree | bccfa57c2134d1a62f855f065f021437f5958cf7 /src/output/plugins | |
parent | 06ec06cdd7ce43b9e7eb0a3e2c8c84e06fde10d1 (diff) | |
download | mpd-ec41caade4ce07aca9097cf8298c9da04eea35e2.tar.gz mpd-ec41caade4ce07aca9097cf8298c9da04eea35e2.tar.xz mpd-ec41caade4ce07aca9097cf8298c9da04eea35e2.zip |
output/wrapper: add method SendTag()
Diffstat (limited to 'src/output/plugins')
-rw-r--r-- | src/output/plugins/RecorderOutputPlugin.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx index aedd54707..8f5379d74 100644 --- a/src/output/plugins/RecorderOutputPlugin.cxx +++ b/src/output/plugins/RecorderOutputPlugin.cxx @@ -227,14 +227,6 @@ RecorderOutput::SendTag(const Tag &tag) LogError(error); } -static void -recorder_output_send_tag(AudioOutput *ao, const Tag &tag) -{ - RecorderOutput &recorder = *(RecorderOutput *)ao; - - recorder.SendTag(tag); -} - inline size_t RecorderOutput::Play(const void *chunk, size_t size, Error &error) { @@ -255,7 +247,7 @@ const struct AudioOutputPlugin recorder_output_plugin = { &Wrapper::Open, &Wrapper::Close, nullptr, - recorder_output_send_tag, + &Wrapper::SendTag, &Wrapper::Play, nullptr, nullptr, |