mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
libtriple: sync cPlayback with libcoolstream changes
This commit is contained in:
@@ -107,7 +107,7 @@ void cPlayback::Close(void)
|
||||
//Stop();
|
||||
}
|
||||
|
||||
bool cPlayback::Start(char *filename, unsigned short vp, int vtype, unsigned short ap, bool _ac3)
|
||||
bool cPlayback::Start(char *filename, unsigned short vp, int vtype, unsigned short ap, int _ac3, unsigned int)
|
||||
{
|
||||
struct stat s;
|
||||
off_t r;
|
||||
@@ -355,7 +355,7 @@ static void playthread_cleanup_handler(void *)
|
||||
dvrfd = -1;
|
||||
}
|
||||
|
||||
bool cPlayback::SetAPid(unsigned short pid, bool _ac3)
|
||||
bool cPlayback::SetAPid(unsigned short pid, int _ac3)
|
||||
{
|
||||
lt_info("%s pid: 0x%04hx ac3: %d\n", __FUNCTION__, pid, _ac3);
|
||||
apid = pid;
|
||||
|
@@ -98,8 +98,9 @@ class cPlayback
|
||||
|
||||
bool Open(playmode_t PlayMode);
|
||||
void Close(void);
|
||||
bool Start(char *filename, unsigned short vpid, int vtype, unsigned short apid, bool ac3);
|
||||
bool SetAPid(unsigned short pid, bool ac3);
|
||||
bool Start(char *filename, unsigned short vpid, int vtype, unsigned short apid,
|
||||
int ac3, unsigned int duration);
|
||||
bool SetAPid(unsigned short pid, int ac3);
|
||||
bool SetSpeed(int speed);
|
||||
bool GetSpeed(int &speed) const;
|
||||
bool GetPosition(int &position, int &duration); /* pos: current time in ms, dur: file length in ms */
|
||||
|
Reference in New Issue
Block a user