From ec41caade4ce07aca9097cf8298c9da04eea35e2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Jan 2015 19:20:09 +0100 Subject: output/wrapper: add method SendTag() --- src/output/Wrapper.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/output/Wrapper.hxx') 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); -- cgit v1.2.3