{"id":20149524,"url":"https://github.com/lonami/winaudio","last_synced_at":"2025-04-09T20:10:48.696Z","repository":{"id":56647304,"uuid":"307655236","full_name":"Lonami/winaudio","owner":"Lonami","description":"Enables audio playback of waveform audio in Windows (play sounds from wav files)","archived":false,"fork":false,"pushed_at":"2025-02-24T20:42:56.000Z","size":28,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T20:10:40.453Z","etag":null,"topics":["audio","playback","rust","sound","wav","waveform","windows"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/winaudio","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lonami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-27T09:56:23.000Z","updated_at":"2025-02-24T20:43:00.000Z","dependencies_parsed_at":"2022-08-15T22:31:37.418Z","dependency_job_id":null,"html_url":"https://github.com/Lonami/winaudio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lonami%2Fwinaudio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lonami%2Fwinaudio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lonami%2Fwinaudio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lonami%2Fwinaudio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lonami","download_url":"https://codeload.github.com/Lonami/winaudio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","playback","rust","sound","wav","waveform","windows"],"created_at":"2024-11-13T22:45:56.333Z","updated_at":"2025-04-09T20:10:48.674Z","avatar_url":"https://github.com/Lonami.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winaudio\n\nEnables audio playback of waveform audio in Windows (play sounds from wav files).\n\n## Description\n\nThis crate serves as an abstraction over the audio functions provided by the\n[Windows Multimedia API]. In particular, it enables its users to enumerate the output devices,\nlist their capabilities, and open them for playback. Basically, it lets you play sound files\nin Windows:\n\n```rust\nuse winaudio::wave::Player;\n\nfn main() {\n    let mut player = Player::from_file(\"test.wav\").unwrap();\n    player.play().unwrap();\n}\n```\n\nIf you're missing a certain function from the [mmeapi.h header], feel free to open an issue\nor send a pull request to the project to add it. This initial version doesn't have methods to\nset the pitch or playback rate for example, but they can trivially be added if needed.\n\n## License\n\nAll the libraries contained in this repository are licensed under either of\n\n* Apache License, Version 2.0 ([LICENSE-APACHE] or\n  http://www.apache.org/licenses/LICENSE-2.0)\n\n* MIT license ([LICENSE-MIT] or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n[Windows Multimedia API]: https://docs.microsoft.com/en-us/windows/win32/api/_multimedia/\n[mmeapi.h header]: https://docs.microsoft.com/en-us/windows/win32/api/mmeapi/\n[LICENSE-APACHE]: LICENSE-APACHE\n[LICENSE-MIT]: LICENSE-MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonami%2Fwinaudio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flonami%2Fwinaudio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonami%2Fwinaudio/lists"}