libtriple: sync cPlayback with libcoolstream changes

This commit is contained in:
Stefan Seyfried
2011-02-20 18:19:06 +01:00
parent 556c6afe74
commit 9803550595
2 changed files with 5 additions and 4 deletions

View File

@@ -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 */