diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-29 08:42:24 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-29 08:42:24 +0200 |
commit | 55e950fe84d86dd7a5007f06c9727c97d57446b4 (patch) | |
tree | 1ceec2fa3e9085e125d9c420f812f9e49eaa5381 /src/audio/sampman.h | |
parent | Merge pull request #1322 from x87/master (diff) | |
download | re3-55e950fe84d86dd7a5007f06c9727c97d57446b4.tar re3-55e950fe84d86dd7a5007f06c9727c97d57446b4.tar.gz re3-55e950fe84d86dd7a5007f06c9727c97d57446b4.tar.bz2 re3-55e950fe84d86dd7a5007f06c9727c97d57446b4.tar.lz re3-55e950fe84d86dd7a5007f06c9727c97d57446b4.tar.xz re3-55e950fe84d86dd7a5007f06c9727c97d57446b4.tar.zst re3-55e950fe84d86dd7a5007f06c9727c97d57446b4.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 16e1a1bb..667e11ff 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; }; @@ -188,8 +188,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); |