5 * Copyright (C) 2005-2013 Team XBMC
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)
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.
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/>.
27 class ASAPCodec : public ICodec
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();
39 static bool IsSupportedFormat(const CStdString &strExt);