Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0703f3
)
Pass a resource number to os_start_sample() and friends.
author
David Griffith
<dave@661.org>
Fri, 20 Dec 2013 08:32:39 +0000
(
00:32
-0800)
committer
David Griffith
<dave@661.org>
Fri, 20 Dec 2013 08:32:39 +0000
(
00:32
-0800)
Needed to support sound mixing.
src/common/sound.c
patch
|
blob
|
history
diff --git
a/src/common/sound.c
b/src/common/sound.c
index 37c98e93f4aec75eb20980f6010141aba0ba965a..ea0e3570e615b4b5f0927f7d74f57ba75c296f4a 100644
(file)
--- a/
src/common/sound.c
+++ b/
src/common/sound.c
@@
-189,10
+189,10
@@
void z_sound_effect (void)
start_sample (number, lo (volume), hi (volume), (zargc == 4) ? zargs[3] : 0);
break;
case EFFECT_STOP:
- os_stop_sample ();
+ os_stop_sample (
number
);
break;
case EFFECT_FINISH_WITH:
- os_finish_with_sample ();
+ os_finish_with_sample (
number
);
break;
}