29 #ifndef AUDIO_QUICKTIME_INTERN_H 30 #define AUDIO_QUICKTIME_INTERN_H 32 #include "common/formats/quicktime.h" 33 #include "common/scummsys.h" 34 #include "common/types.h" 36 #include "audio/audiostream.h" 39 class SeekableReadStream;
71 int readBuffer(int16 *buffer,
const int numSamples);
72 bool isStereo()
const {
return _queue->isStereo(); }
73 int getRate()
const {
return _queue->getRate(); }
74 bool endOfData()
const;
84 Track *getParent()
const {
return _parentTrack; }
85 void queueRemainingAudio();
86 bool hasDataInQueue()
const {
return _samplesQueued != 0; }
94 uint32 _curEdit, _samplesQueued;
99 bool isOldDemuxing()
const;
101 void findEdit(
const Timestamp &position);
102 bool allDataRead()
const;
103 void enterNewEdit(
const Timestamp &position);
105 uint32 getAudioChunkSampleCount(uint chunk)
const;
106 Timestamp getChunkLength(uint chunk,
bool skipAACPrimer =
false)
const;
107 uint32 getAACSampleTime(uint32 totalSampleCount,
bool skipAACPrimer =
false)
const;
116 bool isAudioCodecSupported()
const;
122 uint16 _bitsPerSample;
125 uint32 _samplesPerFrame;
126 uint32 _bytesPerFrame;
Definition: quicktime_intern.h:65
bool isStereo() const
Definition: quicktime_intern.h:72
Definition: quicktime.h:132
Definition: timestamp.h:83
int getRate() const
Definition: quicktime_intern.h:73
Definition: quicktime.h:58
Definition: quicktime.h:276
Definition: audiostream.h:212
Definition: quicktime_intern.h:47
Definition: algorithm.h:29
Definition: audiostream.h:50
Definition: audiostream.h:370
Definition: quicktime_intern.h:111