21#ifndef _AMR_AUDIO_FILE_SINK_HH
22#define _AMR_AUDIO_FILE_SINK_HH
31 unsigned bufferSize = 10000,
37 char const* perFrameFileNamePrefix);
44 unsigned numTruncatedBytes,
45 struct timeval presentationTime);
virtual Boolean sourceIsCompatibleWithUs(MediaSource &source)
static AMRAudioFileSink * createNew(UsageEnvironment &env, char const *fileName, unsigned bufferSize=10000, Boolean oneFilePerFrame=False)
virtual ~AMRAudioFileSink()
AMRAudioFileSink(UsageEnvironment &env, FILE *fid, unsigned bufferSize, char const *perFrameFileNamePrefix)
Boolean fHaveWrittenHeader
virtual void afterGettingFrame(unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime)