// DefaultHostApi returns information of the default HostApi available on the system.
//
// The default host API will be the lowest common denominator host API
// on the current platform and is unlikely to provide the best performance.
DefaultHostApi returns information of the default HostApi available on the system.

The default host API will be the lowest common denominator host API
on the current platform and is unlikely to provide the best performance.
// DefaultHostApi returns information of the default HostApi available on the system . // // The default host API will be the lowest common denominator host API // on the current platform and is unlikely to provide the best performance .
func DefaultHostApi() (*HostApiInfo, error) {
	hosts, err := HostApis()
	if err != nil {
		return nil, err
	}
	i := C.Pa_GetDefaultHostApi()
	if i < 0 {
		return nil, newError(C.PaError(i))
	}
	return hosts[i], nil
}
func DefaultHostApi ( ) ( * HostApiInfo , error ) { hosts , err := HostApis ( ) if err != nil { return nil , err } i := C . Pa_GetDefaultHostApi ( ) if i < 0 { return nil , newError ( C . PaError ( i ) ) } return hosts [ i ] , nil }
DefaultHostApi returns information of the default HostApi available on the system.
DefaultHostApi returns information of the default HostApi available on the system .