Skip to content

Commit

Permalink
core: Rename collect_sound_stream to cleanup_sound_stream
Browse files Browse the repository at this point in the history
  • Loading branch information
kmeisthax committed Aug 23, 2023
1 parent 6e3c468 commit 51c8799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/streams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 51c8799

Please sign in to comment.