summaryrefslogtreecommitdiffstats
path: root/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2015-03-04 00:23:39 +0100
committermanuel <manuel@mausz.at>2015-03-04 00:23:39 +0100
commit9d11b08ad61b1f0d6d7023ce403285d8662efaed (patch)
tree5bc0c947d9e10d3e8c9dc1e6b26f3d6599f0cea1 /xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h
parentc159d9f91f1573901868100a9464527a5a71575b (diff)
downloadkodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.tar.gz
kodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.tar.bz2
kodi-pvr-build-9d11b08ad61b1f0d6d7023ce403285d8662efaed.zip
sync with upstream
Diffstat (limited to 'xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h')
-rw-r--r--xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxShoutcast.h60
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
25class CDemuxStreamAudioShoutcast : public CDemuxStreamAudio
26{
27public:
28 virtual void GetStreamInfo(std::string& strInfo);
29};
30
31#define SHOUTCAST_BUFFER_SIZE 1024 * 32
32
33class CDVDDemuxShoutcast : public CDVDDemux
34{
35public:
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
54protected:
55
56 CDemuxStreamAudioShoutcast* m_pDemuxStream;
57
58 int m_iMetaStreamInterval;
59 CDVDInputStream* m_pInput;
60};