示例#1
0
文件: audio.go 项目: flazz/go-sdl2
// UnlockAudioDevice (https://wiki.libsdl.org/SDL_UnlockAudioDevice)
func UnlockAudioDevice(dev AudioDeviceID) {
	C.SDL_UnlockAudioDevice(dev.c())
}
示例#2
0
func UnlockAudioDevice(dev AudioDeviceID) {
	C.SDL_UnlockAudioDevice(C.SDL_AudioDeviceID(int(dev)))
}
示例#3
0
func CloseAudioDevice(dev AudioDeviceID) {
	_dev := (C.SDL_AudioDeviceID)(dev)
	C.SDL_UnlockAudioDevice(_dev)
}
示例#4
0
文件: audio.go 项目: willemvds/sdl
func (dev AudioDeviceID) Unlock() {
	C.SDL_UnlockAudioDevice(C.SDL_AudioDeviceID(dev))
}