diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-06-19 16:32:30 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-06-19 16:32:30 +0200 |
| commit | 6b9d837c447c520106b0d888103ad77af93046f4 (patch) | |
| tree | 8c91c791c444634f5dad420bcb404fb3084dc7e5 /mumd/src/audio.rs | |
| parent | 3fdb06f677163f856a0233676440606b8f7bf6bd (diff) | |
| download | mum-6b9d837c447c520106b0d888103ad77af93046f4.tar.gz | |
documentation
Diffstat (limited to 'mumd/src/audio.rs')
| -rw-r--r-- | mumd/src/audio.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs index 785bf7c..a04f0da 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -97,6 +97,8 @@ impl AudioOutput { Ok(res) } + /// Sets the sound effects according to some overrides, using some default + /// value if an event isn't overriden. pub fn load_sound_effects(&mut self, overrides: &[SoundEffect]) { self.sounds = sound_effects::load_sound_effects(overrides, self.device.num_channels()); } |
