29 lines
603 B
C++
29 lines
603 B
C++
#include "input.h"
|
|
#include <mist/dtsc.h>
|
|
|
|
namespace Mist {
|
|
class inputDTSC : public Input {
|
|
public:
|
|
inputDTSC(Util::Config * cfg);
|
|
bool needsLock();
|
|
protected:
|
|
//Private Functions
|
|
bool openStreamSource();
|
|
void closeStreamSource();
|
|
void parseStreamHeader();
|
|
bool checkArguments();
|
|
bool readHeader();
|
|
bool needHeader();
|
|
void getNext(bool smart = true);
|
|
void seek(int seekTime);
|
|
void trackSelect(std::string trackSpec);
|
|
|
|
DTSC::File inFile;
|
|
|
|
Socket::Connection srcConn;
|
|
};
|
|
}
|
|
|
|
typedef Mist::inputDTSC mistIn;
|
|
|
|
|