|
|
@ -163,10 +163,7 @@ fn main() { |
|
|
|
|
|
|
|
|
|
|
|
let status = current.get_status(); |
|
|
|
let status = current.get_status(); |
|
|
|
if let WaveStatus::Done = status { |
|
|
|
if let WaveStatus::Done = status { |
|
|
|
fill_buffer( |
|
|
|
fill_buffer(current.get_mut_wavebuffer().get_mut_data(), NOTEFREQ[note]); |
|
|
|
current.get_mut_wavebuffer().get_mut_data(), |
|
|
|
|
|
|
|
NOTEFREQ[note], |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
channel_zero.queue_wave(current); |
|
|
|
channel_zero.queue_wave(current); |
|
|
|
|
|
|
|
|
|
|
|