PageRenderTime 16ms CodeModel.GetById 7ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/xbmc/cores/paplayer/ASAPCodec.h

http://github.com/xbmc/xbmc
C++ Header | 45 lines | 19 code | 7 blank | 19 comment | 0 complexity | e9861771066f2bc098eece23b19b9a9b MD5 | raw file
 1#ifndef ASAP_CODEC_H_
 2#define ASAP_CODEC_H_
 3
 4/*
 5 *      Copyright (C) 2005-2013 Team XBMC
 6 *      http://xbmc.org
 7 *
 8 *  This Program is free software; you can redistribute it and/or modify
 9 *  it under the terms of the GNU General Public License as published by
10 *  the Free Software Foundation; either version 2, or (at your option)
11 *  any later version.
12 *
13 *  This Program is distributed in the hope that it will be useful,
14 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 *  GNU General Public License for more details.
17 *
18 *  You should have received a copy of the GNU General Public License
19 *  along with XBMC; see the file COPYING.  If not, see
20 *  <http://www.gnu.org/licenses/>.
21 *
22 */
23
24#include "ICodec.h"
25#include "DllASAP.h"
26
27class ASAPCodec : public ICodec
28{
29public:
30  ASAPCodec();
31  virtual ~ASAPCodec();
32
33  virtual bool Init(const CStdString &strFile, unsigned int filecache);
34  virtual void DeInit();
35  virtual int64_t Seek(int64_t iSeekTime);
36  virtual int ReadPCM(BYTE *pBuffer, int size, int *actualsize);
37  virtual bool CanInit();
38
39  static bool IsSupportedFormat(const CStdString &strExt);
40
41private:
42  DllASAP m_dll;
43};
44
45#endif