rest of virtuals removed

virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:40:22 +00:00
parent efbe5e90f5
commit 2b295fb7f0
454 changed files with 4162 additions and 4156 deletions

View file

@ -156,14 +156,14 @@ class SFXVoice : public StrongRefBase,
///
/// @note For looping sounds, this will return the position in the
/// current cycle and not the total number of samples played so far.
virtual U32 getPosition() const;
U32 getPosition() const override;
/// Sets the playback position to the given sample count.
///
/// @param sample Offset in number of samples. This is allowed to use an offset
/// accumulated from multiple cycles. Each cycle will wrap around back to the
/// beginning of the buffer.
virtual void setPosition( U32 sample );
void setPosition( U32 sample ) override;
/// @return the current playback status.
/// @note For streaming voices, the reaction to for the voice to update its status