23#ifndef _WAV_AUDIO_FILE_SOURCE_HH
24#define _WAV_AUDIO_FILE_SOURCE_HH
26#ifndef _AUDIO_INPUT_DEVICE_HH
43 char const* fileName);
Boolean fHaveStartedReading
virtual double getAverageLevel() const
unsigned numPCMBytes() const
Boolean fLimitNumBytesToStream
static WAVAudioFileSource * createNew(UsageEnvironment &env, char const *fileName)
unsigned fNumBytesToStream
double fPlayTimePerSample
unsigned fPreferredFrameSize
unsigned char fAudioFormat
WAVAudioFileSource(UsageEnvironment &env, FILE *fid)
unsigned char getAudioFormat()
virtual Boolean setInputPort(int portIndex)
static void fileReadableHandler(WAVAudioFileSource *source, int mask)
virtual void doGetNextFrame()
virtual void doStopGettingFrames()
void limitNumBytesToStream(unsigned numBytesToStream)
virtual ~WAVAudioFileSource()
void seekToPCMByte(unsigned byteNumber)
void setScaleFactor(int scale)