diff options
Diffstat (limited to 'xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h')
| -rw-r--r-- | xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h deleted file mode 100644 index a802167..0000000 --- a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | /* | ||
| 4 | * Copyright (C) 2005-2013 Team XBMC | ||
| 5 | * http://xbmc.org | ||
| 6 | * | ||
| 7 | * This Program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 10 | * any later version. | ||
| 11 | * | ||
| 12 | * This Program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with XBMC; see the file COPYING. If not, see | ||
| 19 | * <http://www.gnu.org/licenses/>. | ||
| 20 | * | ||
| 21 | */ | ||
| 22 | |||
| 23 | #include "DVDDemux.h" | ||
| 24 | |||
| 25 | class CDemuxStreamAudioShoutcast : public CDemuxStreamAudio | ||
| 26 | { | ||
| 27 | public: | ||
| 28 | virtual void GetStreamInfo(std::string& strInfo); | ||
| 29 | }; | ||
| 30 | |||
| 31 | #define SHOUTCAST_BUFFER_SIZE 1024 * 32 | ||
| 32 | |||
| 33 | class CDVDDemuxShoutcast : public CDVDDemux | ||
| 34 | { | ||
| 35 | public: | ||
| 36 | CDVDDemuxShoutcast(); | ||
| 37 | virtual ~CDVDDemuxShoutcast(); | ||
| 38 | |||
| 39 | bool Open(CDVDInputStream* pInput); | ||
| 40 | void Dispose(); | ||
| 41 | void Reset(); | ||
| 42 | void Flush(); | ||
| 43 | void Abort(){} | ||
| 44 | void SetSpeed(int iSpeed){}; | ||
| 45 | virtual std::string GetFileName(); | ||
| 46 | |||
| 47 | DemuxPacket* Read(); | ||
| 48 | |||
| 49 | bool SeekTime(int time, bool backwords = false, double* startpts = NULL); | ||
| 50 | int GetStreamLength(); | ||
| 51 | CDemuxStream* GetStream(int iStreamId); | ||
| 52 | int GetNrOfStreams(); | ||
| 53 | |||
| 54 | protected: | ||
| 55 | |||
| 56 | CDemuxStreamAudioShoutcast* m_pDemuxStream; | ||
| 57 | |||
| 58 | int m_iMetaStreamInterval; | ||
| 59 | CDVDInputStream* m_pInput; | ||
| 60 | }; | ||
