func GetAudioDeviceName(i int, ic bool) (string, error) { var cic C.int if ic { cic = 1 } name := C.SDL_GetAudioDeviceName(C.int(i), cic) if name == nil { return "", getError() } return C.GoString(name), nil }
// GetAudioDeviceName (https://wiki.libsdl.org/SDL_GetAudioDeviceName) func GetAudioDeviceName(index, isCapture int) string { return string(C.GoString(C.SDL_GetAudioDeviceName(C.int(index), C.int(isCapture)))) }
// GetAudioDeviceName (https://wiki.libsdl.org/SDL_GetAudioDeviceName) func GetAudioDeviceName(index int, isCapture bool) string { return string(C.GoString(C.SDL_GetAudioDeviceName(C.int(index), C.int(Btoi(isCapture))))) }
func GetAudioDeviceName(index, iscapture int) string { _index := (C.int)(index) _iscapture := (C.int)(iscapture) return (string)(C.GoString(C.SDL_GetAudioDeviceName(_index, _iscapture))) }
func GetAudioDeviceName(index int, iscapture bool) string { return C.GoString(C.SDL_GetAudioDeviceName(C.int(index), C.int(bool2int(iscapture)))) }