#pragma once
/*
* Copyright (C) 2010-2013 Team XBMC
- * http://www.xbmc.org
+ * http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
virtual bool IsCompatible(const AEAudioFormat &format, const std::string &device);
virtual void Stop ();
+ virtual void Drain ();
virtual double GetDelay ();
virtual double GetCacheTime ();
virtual double GetCacheTotal ();
- virtual unsigned int AddPackets (uint8_t *data, unsigned int frames, bool hasAudio);
+ virtual unsigned int AddPackets (uint8_t *data, unsigned int frames, bool hasAudio, bool blocking = false);
virtual bool SoftSuspend ();
virtual bool SoftResume ();
static std::string GetDefaultDevice ();