mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-26 00:56:38 +11:00
Make SoundChannel public
This commit is contained in:
parent
d7a8928955
commit
f126c7f4f4
1 changed files with 2 additions and 2 deletions
|
@ -36,14 +36,14 @@ impl Mixer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct SoundChannel {
|
pub struct SoundChannel {
|
||||||
data: &'static [u8],
|
data: &'static [u8],
|
||||||
pos: usize,
|
pos: usize,
|
||||||
should_loop: bool,
|
should_loop: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SoundChannel {
|
impl SoundChannel {
|
||||||
fn new(data: &'static [u8], should_loop: bool) -> Self {
|
pub fn new(data: &'static [u8], should_loop: bool) -> Self {
|
||||||
SoundChannel {
|
SoundChannel {
|
||||||
data,
|
data,
|
||||||
pos: 0,
|
pos: 0,
|
||||||
|
|
Loading…
Add table
Reference in a new issue