diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-29 08:42:32 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-29 08:42:32 +0200 |
commit | 9a7b469f4e7249ff0c0ecd72b2c28036d71e599d (patch) | |
tree | 842e080713ec429a2169223b8cb0ec01b26ad3e5 /src/audio/sampman.h | |
parent | fix (diff) | |
download | re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.gz re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.bz2 re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.lz re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.xz re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.zst re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/audio/sampman.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h index 3af2c51f..2b1cdfbc 100644 --- a/src/audio/sampman.h +++ b/src/audio/sampman.h @@ -6,10 +6,10 @@ #define MAX_FREQ DIGITALRATE struct tSample { - int32 nOffset; + uint32 nOffset; uint32 nSize; - int32 nFrequency; - int32 nLoopStart; + uint32 nFrequency; + uint32 nLoopStart; int32 nLoopEnd; }; @@ -211,8 +211,8 @@ public: int32 _GetPedCommentSlot(uint32 nComment); - int32 GetSampleBaseFrequency (uint32 nSample); - int32 GetSampleLoopStartOffset(uint32 nSample); + uint32 GetSampleBaseFrequency (uint32 nSample); + uint32 GetSampleLoopStartOffset(uint32 nSample); int32 GetSampleLoopEndOffset (uint32 nSample); uint32 GetSampleLength (uint32 nSample); |