summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-24 01:59:42 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:34:33 +0200
commit5156626582042343e237cf291ae41387a4252f9f (patch)
treef4a8c2543e2254bcc1bbb6b108373891e4b114fb /src/audio/sampman.h
parentforgotten field in CBaseModelInfo::Shutdown (diff)
downloadre3-5156626582042343e237cf291ae41387a4252f9f.tar
re3-5156626582042343e237cf291ae41387a4252f9f.tar.gz
re3-5156626582042343e237cf291ae41387a4252f9f.tar.bz2
re3-5156626582042343e237cf291ae41387a4252f9f.tar.lz
re3-5156626582042343e237cf291ae41387a4252f9f.tar.xz
re3-5156626582042343e237cf291ae41387a4252f9f.tar.zst
re3-5156626582042343e237cf291ae41387a4252f9f.zip
Diffstat (limited to 'src/audio/sampman.h')
-rw-r--r--src/audio/sampman.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h
index d6fc5cc0..8243f342 100644
--- a/src/audio/sampman.h
+++ b/src/audio/sampman.h
@@ -224,22 +224,22 @@ public:
void StartChannel (uint32 nChannel);
void StopChannel (uint32 nChannel);
- void PreloadStreamedFile (uint32 nFile, uint8 nStream);
- void PauseStream (bool8 nPauseFlag, uint8 nStream);
- void StartPreloadedStreamedFile (uint8 nStream);
- bool8 StartStreamedFile (uint32 nFile, uint32 nPos, uint8 nStream);
- void StopStreamedFile (uint8 nStream);
- int32 GetStreamedFilePosition (uint8 nStream);
- void SetStreamedVolumeAndPan(uint8 nVolume, uint8 nPan, bool8 nEffectFlag, uint8 nStream);
- int32 GetStreamedFileLength (uint8 nStream);
- bool8 IsStreamPlaying (uint8 nStream);
+ void PreloadStreamedFile (uint32 nFile, uint8 nStream = 0);
+ void PauseStream (bool8 nPauseFlag, uint8 nStream = 0);
+ void StartPreloadedStreamedFile (uint8 nStream = 0);
+ bool8 StartStreamedFile (uint32 nFile, uint32 nPos, uint8 nStream = 0);
+ void StopStreamedFile (uint8 nStream = 0);
+ int32 GetStreamedFilePosition (uint8 nStream = 0);
+ void SetStreamedVolumeAndPan(uint8 nVolume, uint8 nPan, bool8 nEffectFlag, uint8 nStream = 0);
+ int32 GetStreamedFileLength (uint8 nStream = 0);
+ bool8 IsStreamPlaying (uint8 nStream = 0);
+ void SetStreamedFileLoopFlag (bool8 nLoopFlag, uint8 nStream = 0);
#ifdef AUDIO_OAL
void Service(void);
#endif
bool8 InitialiseSampleBanks(void);
uint8 GetMusicVolume() const { return m_nMusicVolume; }
- void SetStreamedFileLoopFlag(uint8 nLoopFlag, uint8 nStream);
};
extern cSampleManager SampleManager;