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