implement missing S3StopOutletSound

This commit is contained in:
Dethrace Labs 2022-06-03 17:40:06 +12:00
parent 7730cf842e
commit 44df22a375
2 changed files with 10 additions and 0 deletions

View File

@ -768,6 +768,15 @@ int S3ServiceChannel(tS3_channel* chan) {
}
void S3StopAllOutletSounds() {
tS3_outlet* o; // [esp+Ch] [ebp-4h]
if (!gS3_enabled) {
return;
}
for (o = gS3_outlets; o; o = o->next) {
S3StopOutletSound(o);
}
}
tS3_sound_tag S3StartSound(tS3_outlet* pOutlet, tS3_sound_id pSound) {

View File

@ -26,6 +26,7 @@ tS3_channel* S3AllocateChannel(tS3_outlet* outlet, int priority);
int S3StopChannel(tS3_channel* chan);
void S3DisposeOutlet(tS3_outlet* outlet);
int S3StopOutletSound(tS3_outlet* pOutlet);
void S3StopAllOutletSounds();
int S3DisposeDescriptor(tS3_sound_id id);