// DefaultInputDevice returns information for the default
// input device on the system.
DefaultInputDevice returns information for the default
input device on the system.
// DefaultInputDevice returns information for the default // input device on the system .
func DefaultInputDevice() (*DeviceInfo, error) {
	devs, err := Devices()
	if err != nil {
		return nil, err
	}
	i := C.Pa_GetDefaultInputDevice()
	if i < 0 {
		return nil, newError(C.PaError(i))
	}
	return devs[i], nil
}
func DefaultInputDevice ( ) ( * DeviceInfo , error ) { devs , err := Devices ( ) if err != nil { return nil , err } i := C . Pa_GetDefaultInputDevice ( ) if i < 0 { return nil , newError ( C . PaError ( i ) ) } return devs [ i ] , nil }
DefaultInputDevice returns information for the default
input device on the system.
DefaultInputDevice returns information for the default input device on the system .