Exemple #1
0
// UnlockAudioDevice (https://wiki.libsdl.org/SDL_UnlockAudioDevice)
func UnlockAudioDevice(dev AudioDeviceID) {
	C.SDL_UnlockAudioDevice(dev.c())
}
Exemple #2
0
func UnlockAudioDevice(dev AudioDeviceID) {
	C.SDL_UnlockAudioDevice(C.SDL_AudioDeviceID(int(dev)))
}
Exemple #3
0
func CloseAudioDevice(dev AudioDeviceID) {
	_dev := (C.SDL_AudioDeviceID)(dev)
	C.SDL_UnlockAudioDevice(_dev)
}
Exemple #4
0
func (dev AudioDeviceID) Unlock() {
	C.SDL_UnlockAudioDevice(C.SDL_AudioDeviceID(dev))
}