def default_input_device():
    idx = _pa.Pa_GetDefaultInputDevice()
    if idx < 0:
        raise RuntimeError("No default input device available")
    return idx
Return default input device index.
dataset/ETHPy150Open bastibe/PySoundCard/pysoundcard.py/default_input_device