From 51c8799b3242cf8aad0b141959649a268915dcb8 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Tue, 22 Aug 2023 23:14:13 -0400 Subject: [PATCH] core: Rename `collect_sound_stream` to `cleanup_sound_stream` --- core/src/streams.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/streams.rs b/core/src/streams.rs index 41ee86caa817..902dabd31884 100644 --- a/core/src/streams.rs +++ b/core/src/streams.rs @@ -517,7 +517,7 @@ impl<'gc> NetStream<'gc> { /// /// Intended to be called at the start of tag processing, before any new /// audio data has been streamed. - fn collect_sound_stream( + fn cleanup_sound_stream( self, context: &mut UpdateContext<'_, 'gc>, write: &mut NetStreamData<'gc>, @@ -801,7 +801,7 @@ impl<'gc> NetStream<'gc> { #![allow(clippy::explicit_auto_deref)] //Erroneous lint let mut write = self.0.write(context.gc_context); - self.collect_sound_stream(context, &mut write); + self.cleanup_sound_stream(context, &mut write); let slice = write.buffer.to_full_slice(); let buffer = slice.data();