示例#1
0
文件: audio.go 项目: flazz/go-sdl2
// CloseAudioDevice (https://wiki.libsdl.org/SDL_CloseAudioDevice)
func CloseAudioDevice(dev AudioDeviceID) {
	C.SDL_CloseAudioDevice(dev.c())
}
示例#2
0
文件: audio.go 项目: willemvds/sdl
func (dev AudioDeviceID) Close() {
	C.SDL_CloseAudioDevice(C.SDL_AudioDeviceID(dev))
}