mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Remove .high_priority()
This commit is contained in:
parent
45b8480a35
commit
2409cd5538
|
@ -50,6 +50,18 @@ impl SoundChannel {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new_high_priority(data: &'static [u8]) -> Self {
|
||||
SoundChannel {
|
||||
data,
|
||||
pos: 0.into(),
|
||||
should_loop: false,
|
||||
playback_speed: 1.into(),
|
||||
panning: 0.into(),
|
||||
is_done: false,
|
||||
priority: SoundPriority::High,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn should_loop<'a>(&'a mut self) -> &'a mut Self {
|
||||
self.should_loop = true;
|
||||
self
|
||||
|
@ -67,9 +79,4 @@ impl SoundChannel {
|
|||
self.panning = panning;
|
||||
self
|
||||
}
|
||||
|
||||
pub fn high_priority<'a>(&'a mut self) -> &'a mut Self {
|
||||
self.priority = SoundPriority::High;
|
||||
self
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue