mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
Make SoundChannel public
This commit is contained in:
parent
d7a8928955
commit
f126c7f4f4
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue