pub fn beep(&mut self, beep: bool) {
        if beep {
            self.device.resume();
        } else {
            self.device.pause();
        }
    }
/// resume or pause the audio device
resume or pause the audio device
resume or pause the audio device
pub fn beep(&mut self, beep: bool) {
        if beep {
            self.device.resume();
        } else {
            self.device.pause();
        }
    }
pub fn beep ( & mut self , beep : bool ) { if beep { self . device . resume ( ) ; } else { self . device . pause ( ) ; } }
resume or pause the audio device
resume or pause the audio device
&mut self
beep
bool
&mut self
beep
bool