aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mumd/src/audio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs
index 6c20d08..78e10b9 100644
--- a/mumd/src/audio.rs
+++ b/mumd/src/audio.rs
@@ -234,7 +234,7 @@ impl AudioOutput {
}
/// Sets the incoming volume of a user.
- pub(crate) fn set_user_volume(&self, id: u32, volume: f32) {
+ pub fn set_user_volume(&self, id: u32, volume: f32) {
match self.user_volumes.lock().unwrap().entry(id) {
Entry::Occupied(mut entry) => {
entry.get_mut().0 = volume;