Project

General

Profile

Bug #121 ยป muggle-GetReplayMode.patch

anbr, 05/20/2009 12:42 PM

View differences:

mg_db_gd_mysql.c
#include <cstring>
#include <string>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
pcmplayer.c
return false;
}
bool mgPCMPlayer::GetReplayMode(bool &Play, bool &Forward, int &Speed) {
Speed = -1;
Forward = true;
switch(PlayMode()) {
case pmPlay: Play = true; break;
default:
Play = false; break;
}
return true;
}
void mgPCMPlayer::internShowMPGFile() {
if (!imagefile.size())
return;
pcmplayer.h
virtual bool GetIndex (int &Current, int &Total, bool SnapToIFrame = false);
// bool GetPlayInfo(cMP3PlayInfo *rm); // LVW
virtual bool GetReplayMode(bool &Play, bool &Forward, int &Speed);
void ReloadPlaylist();
void NewPlaylist (mgSelection * plist);
    (1-1/1)