summaryrefslogtreecommitdiff
path: root/src/audio/sampman_miles.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-24 02:59:42 +0300
committerSergeanur <s.anureev@yandex.ua>2021-06-24 21:46:21 +0300
commit27df328ec21fa4ec340701b9a1c9b52f0e5c9008 (patch)
treeee79f3d7d4601b6b39fd818733159ada384d3b2d /src/audio/sampman_miles.cpp
parent4351198bf591739f13c5aec7bf72bc00d3ec3579 (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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp
index 7f7e7a3a..4a43aaec 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;
@@ -2518,7 +2518,7 @@ cSampleManager::InitialiseSampleBanks(void)
void
-cSampleManager::SetStreamedFileLoopFlag(uint8 nLoopFlag, uint8 nChannel)
+cSampleManager::SetStreamedFileLoopFlag(bool8 nLoopFlag, uint8 nChannel)
{
if (m_bInitialised)
nStreamLoopedFlag[nChannel] = nLoopFlag;