Crates.io | windows_audio |
lib.rs | windows_audio |
version | 0.1.7 |
source | src |
created_at | 2023-01-24 05:33:37.657472 |
updated_at | 2023-01-24 10:44:25.422884 |
description | Sounds a wav file that can be used by default on windowsOS |
homepage | |
repository | https://github.com/8bitTD/windows_audio |
max_upload_size | |
id | 766440 |
size | 1,318,540 |
Sounds a wav file that can be used by default on windowsOS
fn main() {
let audio = windows_audio::Audio::new();
for a in audio.get_audios(){
println!("{:?}", a.name);
}
audio.play("Windows Error");
std::thread::sleep(std::time::Duration::from_secs(1));
}