mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
spark: remove unused cPlayback() stuff
Origin commit data
------------------
Branch: master
Commit: 54cc8ddc80
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-15 (Wed, 15 Feb 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
/*******************************************************************************/
|
||||
/* */
|
||||
/* libcoolstream/cszapper/demux.h */
|
||||
/* ZAP interface for neutrino frontend */
|
||||
/* */
|
||||
/* (C) 2008 CoolStream International */
|
||||
/* */
|
||||
/*******************************************************************************/
|
||||
#ifndef __HAL_PLAYBACK_H
|
||||
#define __HAL_PLAYBACK_H
|
||||
|
||||
@@ -19,47 +11,35 @@ typedef enum {
|
||||
class cPlayback
|
||||
{
|
||||
private:
|
||||
int timeout;
|
||||
pthread_cond_t read_cond;
|
||||
pthread_mutex_t mutex;
|
||||
bool enabled;
|
||||
bool paused;
|
||||
bool playing;
|
||||
int unit;
|
||||
int nPlaybackFD;
|
||||
int video_type;
|
||||
int nPlaybackSpeed;
|
||||
int mSpeed;
|
||||
int mAudioStream;
|
||||
playmode_t playMode;
|
||||
//
|
||||
void Attach(void);
|
||||
void Detach(void);
|
||||
bool SetAVDemuxChannel(bool On, bool Video = true, bool Audio = true);
|
||||
bool Stop(void);
|
||||
public:
|
||||
void PlaybackNotify (int Event, void *pData, void *pTag);
|
||||
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
||||
cPlayback(int num = 0);
|
||||
~cPlayback();
|
||||
|
||||
bool Open(playmode_t PlayMode);
|
||||
void Close(void);
|
||||
bool Start(char *filename, unsigned short vpid, int vtype, unsigned short apid,
|
||||
int ac3, unsigned int duration);
|
||||
bool Stop(void);
|
||||
bool SetAPid(unsigned short pid, bool ac3);
|
||||
bool SetSpeed(int speed);
|
||||
bool GetSpeed(int &speed) const;
|
||||
bool GetPosition(int &position, int &duration);
|
||||
bool GetOffset(off64_t &offset);
|
||||
bool SetPosition(int position, bool absolute = false);
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language);
|
||||
#if 0
|
||||
// Functions that are not used by movieplayer.cpp:
|
||||
bool GetOffset(off64_t &offset);
|
||||
bool IsPlaying(void) const;
|
||||
bool IsEnabled(void) const;
|
||||
void * GetHandle(void);
|
||||
void * GetDmHandle(void);
|
||||
int GetCurrPlaybackSpeed(void) const;
|
||||
void FindAllPids(uint16_t *apids, unsigned short *ac3flags, uint16_t *numpida, std::string *language);
|
||||
//
|
||||
cPlayback(int num = 0);
|
||||
~cPlayback();
|
||||
|
||||
};
|
||||
|
||||
void PlaybackNotify (int Event, void *pData, void *pTag);
|
||||
void DMNotify(int Event, void *pTsBuf, void *Tag);
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user