From c27074573f4025f4487f18557c57f8c14b8652da Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Sun, 13 Jun 2021 01:42:31 +0200 Subject: rework audio decoding --- mumd/src/audio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mumd/src/audio.rs') diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs index 2e20583..beff9cd 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -235,7 +235,7 @@ impl AudioOutput { pub fn play_effect(&self, effect: NotificationEvents) { let samples = self.sounds.get(&effect).unwrap(); - self.client_streams.lock().unwrap().extend(None, samples); + self.client_streams.lock().unwrap().add_sound_effect(samples); } } -- cgit v1.2.1