azbox: rework cPlayback rmfp_player wrapper

it now actually plays something, but will need more love
This commit is contained in:
Stefan Seyfried
2012-11-16 23:42:45 +01:00
parent 75d4d5021b
commit fea8d10c36
2 changed files with 250 additions and 61 deletions

View File

@@ -24,7 +24,7 @@ class cPlayback
CS_PLAYBACK_PDATA * privateData;
pthread_t rua_thread;
pthread_t event_thread;
// pthread_t event_thread;
bool enabled;
bool paused;
@@ -43,6 +43,8 @@ class cPlayback
int mduration;
playmode_t playMode;
int __GetPosition(void);
int rmfp_command(int cmd, int param, bool has_param, int reply_len);
//
public:
bool Open(playmode_t PlayMode);