summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman_oal.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-19 09:53:14 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-19 09:53:14 +0200
commit71e0895dc60303d364c7972608e51c1a027f19fc (patch)
treef4d8ee3ca5f0ac2e847fbaecf6a342becd617446 /src/audio/sampman_oal.cpp
parentAudio: ifdef more things that aren't on ps2 (diff)
downloadre3-71e0895dc60303d364c7972608e51c1a027f19fc.tar
re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.gz
re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.bz2
re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.lz
re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.xz
re3-71e0895dc60303d364c7972608e51c1a027f19fc.tar.zst
re3-71e0895dc60303d364c7972608e51c1a027f19fc.zip
Diffstat (limited to 'src/audio/sampman_oal.cpp')
-rw-r--r--src/audio/sampman_oal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index 3d693870..e20da0b2 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -1680,7 +1680,7 @@ cSampleManager::StartPreloadedStreamedFile(uint8 nStream)
bool8
cSampleManager::StartStreamedFile(uint32 nFile, uint32 nPos, uint8 nStream)
{
- int i = 0;
+ uint32 i = 0;
uint32 position = nPos;
char filename[MAX_PATH];
@@ -1759,7 +1759,7 @@ cSampleManager::StartStreamedFile(uint32 nFile, uint32 nPos, uint8 nStream)
if ( !_pMP3List )
{
nFile = 0;
- _bIsMp3Active = 0;
+ _bIsMp3Active = FALSE;
CStream *stream = aStream[nStream];
#ifdef PS2_AUDIO_PATHS
@@ -1802,7 +1802,7 @@ cSampleManager::StartStreamedFile(uint32 nFile, uint32 nPos, uint8 nStream)
}
}
- _bIsMp3Active = 0;
+ _bIsMp3Active = FALSE;
}
while ( ++i < nNumMP3s );
position = 0;