Logo Search packages:      
Sourcecode: scummvm version File versions

int Audio::Timestamp::totalNumberOfFrames (  ) const [inline]

Return the time in frames described by this timestamp.

Definition at line 175 of file timestamp.h.

References _framerate, _framerateFactor, _numFrames, and _secs.

Referenced by Audio::makeLoopingAudioStream(), Audio::RawStream< is16Bit, isUnsigned, isLE >::seek(), and Audio::SubSeekableAudioStream::SubSeekableAudioStream().

            return _numFrames / (int)_framerateFactor + _secs * (int)(_framerate / _framerateFactor);

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index