insert coin noise works but crashes at end
This commit is contained in:
parent
4e9428cb5f
commit
935129baed
6 changed files with 7 additions and 3 deletions
|
|
@ -265,7 +265,7 @@ fn app_main(mut p: hal::Peripherals) -> ! {
|
|||
let dac_tick_per_service = tick_rate_hz / dac_sample_rate_hz;
|
||||
let dac_service_data = TickServiceData::new(dac_tick_per_service);
|
||||
|
||||
let coin_sound = include_bytes!("../audio/coin.raw");
|
||||
let coin_sound = include_bytes!("../audio/coin5.raw");
|
||||
// let coin_sound = include_bytes!("../audio/coin2.raw");
|
||||
|
||||
let sample_player = DacService::new(ch32_hal::timer::Channel::Ch4, dac_service_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue