func GetAudioDriver(i int) (string, error) { name := C.SDL_GetAudioDriver(C.int(i)) if name == nil { return "", getError() } return C.GoString(name), nil }
// GetAudioDriver (https://wiki.libsdl.org/SDL_GetAudioDriver) func GetAudioDriver(index int) string { return string(C.GoString(C.SDL_GetAudioDriver(C.int(index)))) }
func GetAudioDriver(index int) string { _index := (C.int)(index) return (string)(C.GoString(C.SDL_GetAudioDriver(_index))) }