Expand description
§🦀 thindx-xaudio2 - High level FFI for XAudio2 🦀
§Warnings
⚠️ 0.0.0-yyyy-mm-dd
does not obey semver.
⚠️ I’m not yet willing to stabilize this crate’s API.
⚠️ this crate lacks testing and may not yet be sound.
§License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Re-exports§
pub use thindx_xaudio2_sys as sys;
Modules§
- xaudio2_
0 Deprecated - 🚫 XAudio 2.0 - Windows XP? via redist
- xaudio2_
1 Deprecated - 🚫 XAudio 2.1 - Windows XP? via redist
- xaudio2_
2 Deprecated - 🚫 XAudio 2.2 - Windows XP? via redist
- xaudio2_
3 Deprecated - 🚫 XAudio 2.3 - Windows XP? via redist
- xaudio2_
4 Deprecated - 🚫 XAudio 2.4 - Windows XP? via redist
- xaudio2_
5 Deprecated - 🚫 XAudio 2.5 - Windows XP? via redist
- xaudio2_
6 Deprecated - 🚫 XAudio 2.6 - Windows XP? via redist
- xaudio2_
7 Deprecated - 🚫 XAudio 2.7 - Windows XP? via redist
- xaudio2_
8 - ✔️ XAudio 2.8 - Windows 8+ via preinstall
- xaudio2_
9 - ✔️ XAudio 2.9 - Windows 7 SP1+ via Redist, Windows 10+ via preinstall
Functions§
- disable_
catch_ ⚠unwind - Disable the use of std::panic::catch_unwind to guard against panics unwinding over an FFI boundary in XAudio2 threads executing callbacks.
This improves your callstacks such that they include the original
panic!
for your debugger and native crash collection tools, but might technically be undefined behavior. - enable_
catch_ unwind - Re-enable the use of std::panic::catch_unwind (the default behavior.)