Example #1
0
func GetNumAudioDevices(ic bool) int {
	var cic C.int
	if ic {
		cic = 1
	}

	return int(C.SDL_GetNumAudioDevices(cic))
}
Example #2
0
// GetNumAudioDevices (https://wiki.libsdl.org/SDL_GetNumAudioDevices)
func GetNumAudioDevices(isCapture int) int {
	return int(C.SDL_GetNumAudioDevices(C.int(isCapture)))
}
Example #3
0
// GetNumAudioDevices (https://wiki.libsdl.org/SDL_GetNumAudioDevices)
func GetNumAudioDevices(isCapture bool) int {
	return int(C.SDL_GetNumAudioDevices(C.int(Btoi(isCapture))))
}
Example #4
0
func GetNumAudioDevices(iscapture int) int {
	_iscapture := (C.int)(iscapture)
	return (int)(C.SDL_GetNumAudioDevices(_iscapture))
}