diff options
Diffstat (limited to 'sound/timestamp.h')
-rw-r--r-- | sound/timestamp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/timestamp.h b/sound/timestamp.h index a027570469..fcfa8cf5fc 100644 --- a/sound/timestamp.h +++ b/sound/timestamp.h @@ -126,19 +126,19 @@ public: */ uint32 msecs() const; - /** Return the framerate used by this timestamp. */ - int getFramerate() const { return _framerate / _framerateFactor; } - /** * Determines the time in seconds described by this timestamp, * rounded down. */ - uint32 secs() const { return _secs; } + inline uint32 secs() const { return _secs; } /** * Determines the frames described by this timestamp. */ - int getNumberOfFrames() const { return _numberOfFrames / _framerateFactor; } + inline int numberOfFrames() const { return _numberOfFrames / _framerateFactor; } + + /** Return the framerate used by this timestamp. */ + inline int framerate() const { return _framerate / _framerateFactor; } protected: |