summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-24 01:46:23 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:44 +0200
commitf2390deaa99ab453122d6c56d4a62006c5efaf31 (patch)
treeede2d3907a90bcc21d1e0146944c66a2c1ec190c /src/audio/sampman.h
parentFix use of enum in ped comment banks switch (diff)
downloadre3-f2390deaa99ab453122d6c56d4a62006c5efaf31.tar
re3-f2390deaa99ab453122d6c56d4a62006c5efaf31.tar.gz
re3-f2390deaa99ab453122d6c56d4a62006c5efaf31.tar.bz2
re3-f2390deaa99ab453122d6c56d4a62006c5efaf31.tar.lz
re3-f2390deaa99ab453122d6c56d4a62006c5efaf31.tar.xz
re3-f2390deaa99ab453122d6c56d4a62006c5efaf31.tar.zst
re3-f2390deaa99ab453122d6c56d4a62006c5efaf31.zip
Diffstat (limited to '')
-rw-r--r--src/audio/sampman.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/audio/sampman.h b/src/audio/sampman.h
index b5f72d5c..d1ad9a26 100644
--- a/src/audio/sampman.h
+++ b/src/audio/sampman.h
@@ -201,15 +201,15 @@ public:
void StartChannel (uint32 nChannel);
void StopChannel (uint32 nChannel);
- void PreloadStreamedFile (uint8 nFile, uint8 nStream);
- void PauseStream (bool8 nPauseFlag, uint8 nStream);
- void StartPreloadedStreamedFile (uint8 nStream);
- bool8 StartStreamedFile (uint8 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 (uint8 nFile, uint8 nStream = 0);
+ void PauseStream (bool8 nPauseFlag, uint8 nStream = 0);
+ void StartPreloadedStreamedFile (uint8 nStream = 0);
+ bool8 StartStreamedFile (uint8 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);
#ifdef AUDIO_OAL
void Service(void);
#endif