Exemple #1
0
// LockAudioDevice (https://wiki.libsdl.org/SDL_LockAudioDevice)
func LockAudioDevice(dev AudioDeviceID) {
	C.SDL_LockAudioDevice(dev.c())
}
Exemple #2
0
func LockAudioDevice(dev AudioDeviceID) {
	C.SDL_LockAudioDevice(C.SDL_AudioDeviceID(int(dev)))
}
Exemple #3
0
func LockAudioDevice(dev AudioDeviceID) {
	_dev := (C.SDL_AudioDeviceID)(dev)
	C.SDL_LockAudioDevice(_dev)
}
Exemple #4
0
func (dev AudioDeviceID) Lock() {
	C.SDL_LockAudioDevice(C.SDL_AudioDeviceID(dev))
}