diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-18 19:09:55 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-18 19:09:55 +0200 |
commit | 0eb4aca1d64c16bcbf2c48dfeae05ac9adf39d73 (patch) | |
tree | 10e468e4e29e6c63307a95fae0f25bb4a27d5e81 /src/audio | |
parent | Fixes and style changes from miami (diff) | |
download | re3-0eb4aca1d64c16bcbf2c48dfeae05ac9adf39d73.tar re3-0eb4aca1d64c16bcbf2c48dfeae05ac9adf39d73.tar.gz re3-0eb4aca1d64c16bcbf2c48dfeae05ac9adf39d73.tar.bz2 re3-0eb4aca1d64c16bcbf2c48dfeae05ac9adf39d73.tar.lz re3-0eb4aca1d64c16bcbf2c48dfeae05ac9adf39d73.tar.xz re3-0eb4aca1d64c16bcbf2c48dfeae05ac9adf39d73.tar.zst re3-0eb4aca1d64c16bcbf2c48dfeae05ac9adf39d73.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/sampman_miles.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp index 392bface..185e08d6 100644 --- a/src/audio/sampman_miles.cpp +++ b/src/audio/sampman_miles.cpp @@ -2176,8 +2176,7 @@ cSampleManager::StartStreamedFile(uint8 nFile, uint32 nPos, uint8 nStream) if ( mp3Stream[nStream] ) { AIL_set_stream_loop_count(mp3Stream[nStream], 1); - AIL_set_stream_loop_count(mp3Stream[nStream], nStreamLoopedFlag[nStream] ? 0 : 1); - nStreamLoopedFlag[nStream] = true; + AIL_set_stream_ms_position(mp3Stream[nStream], position); AIL_pause_stream(mp3Stream[nStream], 0); return true; } @@ -2332,4 +2331,4 @@ cSampleManager::InitialiseSampleBanks(void) return true; } -#endif
\ No newline at end of file +#endif |