diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-11-02 15:23:46 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-11-02 15:23:46 -0700 |
commit | 34a5de28f0b467ec3177da5b9516d06a69b07f58 (patch) | |
tree | 8de38ca8e7fc0137c80d8b89d4b0593bc33c012b /src/sfx.h | |
parent | 3e6bcb386cc9df28990b9cd570f6df7617e91f91 (diff) |
sfx: add volume control to sfx_play()
Preparatory commit for experimenting with varying volumes based
on distance. Impetus is an interest in making the TV clips
always play when the TV appears, but vary the volume with
distance.
Diffstat (limited to 'src/sfx.h')
-rw-r--r-- | src/sfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,6 +48,6 @@ typedef struct sfx_t { extern sfx_t sfx; void sfx_init(void); -void sfx_play(sfx_sound_t *sound); +void sfx_play(sfx_sound_t *sound, float volume); #endif |