Merge pull request #2703 from ace20022/cores_revised
[vuplus_xbmc] / xbmc / cores / AudioEngine / Sinks / AESinkDirectSound.h
index 630e7c9..baddaea 100644 (file)
@@ -1,7 +1,7 @@
 #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
@@ -39,10 +39,11 @@ public:
   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   ();