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/Wrapper.hxx | |
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/Wrapper.hxx')
-rw-r--r-- | src/output/Wrapper.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output/Wrapper.hxx b/src/output/Wrapper.hxx index f4184440f..e6af29634 100644 --- a/src/output/Wrapper.hxx +++ b/src/output/Wrapper.hxx @@ -67,6 +67,12 @@ struct AudioOutputWrapper { return t.Delay(); } + gcc_pure + static void SendTag(AudioOutput *ao, const Tag &tag) { + T &t = Cast(*ao); + t.SendTag(tag); + } + static size_t Play(AudioOutput *ao, const void *chunk, size_t size, Error &error) { T &t = Cast(*ao); |