39 beep(
uint32 frequency,
uint32 duration) : frequency_(frequency), duration_(duration) {}
43 friend std::ostream& operator <<(std::ostream& os,
const beep&
b) {
Represent beep output manipulator class.
Definition beep.hpp:21
beep()=default
Plays the sound of a beep through the console speaker.
beep(uint32 frequency, uint32 duration)
Plays the sound of a beep of a specified frequency and duration through the console speaker.
Definition beep.hpp:39
static std::ostream out
Gets the standard output stream. A std::basic_ostream<char_t> that represents the standard output str...
Definition console.hpp:52
static void beep()
Plays the sound of a beep through the console speaker.
static bool is_output_redirected()
Gets a value that indicates whether the output stream has been redirected from the standard output st...
object()=default
Create a new instance of the ultimate base class object.
Contains xtd::console class.
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.hpp:23
@ b
The B key.
Definition console_key.hpp:90
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::object class.