diff --git a/agb/src/sound/mixer.rs b/agb/src/sound/mixer.rs index 78c11d8a..859080f3 100644 --- a/agb/src/sound/mixer.rs +++ b/agb/src/sound/mixer.rs @@ -36,14 +36,14 @@ impl Mixer { } } -struct SoundChannel { +pub struct SoundChannel { data: &'static [u8], pos: usize, should_loop: bool, } impl SoundChannel { - fn new(data: &'static [u8], should_loop: bool) -> Self { + pub fn new(data: &'static [u8], should_loop: bool) -> Self { SoundChannel { data, pos: 0,