4 stable releases
1.0.3 | Jan 31, 2023 |
---|---|
1.0.1 | Jan 30, 2023 |
#277 in Windows APIs
7KB
Causes a beeping sound on Windows with a given frequency and duration (used API). Blocks the thread while beeping. System sounds must not be muted for the beep to be audible.
Usage
win_beep::beep_with_hz_and_millis(1000, 100);
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.
Dependencies
~21–29MB
~384K SLoC