22#ifndef _BYTE_STREAM_MULTI_FILE_SOURCE_HH
23#define _BYTE_STREAM_MULTI_FILE_SOURCE_HH
25#ifndef _BYTE_STREAM_FILE_SOURCE_HH
33 unsigned preferredFrameSize = 0,
unsigned playTimePerFrame = 0);
42 unsigned preferredFrameSize,
unsigned playTimePerFrame);
55 unsigned frameSize,
unsigned numTruncatedBytes,
56 struct timeval presentationTime,
57 unsigned durationInMicroseconds);
ByteStreamFileSource ** fSourceArray
static ByteStreamMultiFileSource * createNew(UsageEnvironment &env, char const **fileNameArray, unsigned preferredFrameSize=0, unsigned playTimePerFrame=0)
virtual ~ByteStreamMultiFileSource()
unsigned fPreferredFrameSize
char const ** fFileNameArray
Boolean fHaveStartedNewFile
static void onSourceClosure(void *clientData)
Boolean haveStartedNewFile() const
unsigned fPlayTimePerFrame
virtual void doGetNextFrame()
static void afterGettingFrame(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds)
unsigned fCurrentlyReadSourceNumber
ByteStreamMultiFileSource(UsageEnvironment &env, char const **fileNameArray, unsigned preferredFrameSize, unsigned playTimePerFrame)