20 #ifndef MPD_OUTPUT_WRAPPER_HXX 21 #define MPD_OUTPUT_WRAPPER_HXX 36 T *t = T::Create(block);
78 return t.Play(chunk, size);
static size_t Play(AudioOutput *ao, const void *chunk, size_t size)
The meta information about a song file.
static bool Pause(AudioOutput *ao)
static void Close(AudioOutput *ao)
static void Enable(AudioOutput *ao)
static C & ContainerCast(A &a, A C::*member)
Cast the given pointer to a struct member to its parent structure.
static void SendTag(AudioOutput *ao, const Tag &tag)
static void Open(AudioOutput *ao, AudioFormat &audio_format)
static void Cancel(AudioOutput *ao)
static T & Cast(AudioOutput &ao)
static void Finish(AudioOutput *ao)
static AudioOutput * Init(const ConfigBlock &block)
static gcc_pure std::chrono::steady_clock::duration Delay(AudioOutput *ao) noexcept
static void Drain(AudioOutput *ao)
static void Disable(AudioOutput *ao)