func (id AudioDeviceID) PauseAudio(p bool) { var cp C.int if p { cp = 1 } C.SDL_PauseAudioDevice(C.SDL_AudioDeviceID(id), cp) }
// PauseAudioDevice (https://wiki.libsdl.org/SDL_PauseAudioDevice) func PauseAudioDevice(dev AudioDeviceID, pauseOn int) { C.SDL_PauseAudioDevice(dev.c(), C.int(pauseOn)) }
// PauseAudioDevice (https://wiki.libsdl.org/SDL_PauseAudioDevice) func PauseAudioDevice(dev AudioDeviceID, pauseOn bool) { C.SDL_PauseAudioDevice(dev.c(), C.int(Btoi(pauseOn))) }
func PauseAudioDevice(dev AudioDeviceID, pause_on int) { _dev := (C.SDL_AudioDeviceID)(dev) _pause_on := (C.int)(pause_on) C.SDL_PauseAudioDevice(_dev, _pause_on) }
func Disable() { C.SDL_PauseAudioDevice(dev, 1) }
func Enable() { C.SDL_PauseAudioDevice(dev, 0) }
func PauseAudioDevice(dev AudioDeviceID, pause_on bool) { C.SDL_PauseAudioDevice(C.SDL_AudioDeviceID(int(dev)), C.int(bool2int(pause_on))) }