diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 02:59:42 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 21:34:33 +0300 |
commit | 5156626582042343e237cf291ae41387a4252f9f (patch) | |
tree | f4a8c2543e2254bcc1bbb6b108373891e4b114fb /src/audio/sampman_miles.cpp | |
parent | fe65f20a30e7d048caa66f8be3db25b5314e4327 (diff) |
Make sampman stream functions default to stream 0 + type fixes
Diffstat (limited to 'src/audio/sampman_miles.cpp')
-rw-r--r-- | src/audio/sampman_miles.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp index 558be334..8191cbf7 100644 --- a/src/audio/sampman_miles.cpp +++ b/src/audio/sampman_miles.cpp @@ -60,7 +60,7 @@ char _mp3DirectoryPath[MAX_PATH]; HSTREAM mp3Stream [MAX_STREAMS]; int8 nStreamPan [MAX_STREAMS]; int8 nStreamVolume[MAX_STREAMS]; -uint8 nStreamLoopedFlag[MAX_STREAMS]; +bool8 nStreamLoopedFlag[MAX_STREAMS]; uint32 _CurMP3Index; int32 _CurMP3Pos; bool8 _bIsMp3Active; @@ -2371,7 +2371,7 @@ cSampleManager::InitialiseSampleBanks(void) void -cSampleManager::SetStreamedFileLoopFlag(uint8 nLoopFlag, uint8 nChannel) +cSampleManager::SetStreamedFileLoopFlag(bool8 nLoopFlag, uint8 nChannel) { if (m_bInitialised) nStreamLoopedFlag[nChannel] = nLoopFlag; |