Ejemplo n.º 1
0
// GetAudioDeviceStatus (https://wiki.libsdl.org/SDL_GetAudioDeviceStatus)
func GetAudioDeviceStatus(dev AudioDeviceID) AudioStatus {
	return (AudioStatus)(C.SDL_GetAudioDeviceStatus(dev.c()))
}
Ejemplo n.º 2
0
func GetAudioDeviceStatus(dev AudioDeviceID) int {
	return int(C.SDL_GetAudioDeviceStatus(C.SDL_AudioDeviceID(int(dev))))
}
Ejemplo n.º 3
0
func GetAudioDeviceStatus(dev AudioDeviceID) AudioStatus {
	_dev := (C.SDL_AudioDeviceID)(dev)
	return (AudioStatus)(C.SDL_GetAudioDeviceStatus(_dev))
}
Ejemplo n.º 4
0
func (id AudioDeviceID) GetStatus() AudioStatus {
	return AudioStatus(C.SDL_GetAudioDeviceStatus(C.SDL_AudioDeviceID(id)))
}