pa devinfo inputs - part-cw/lambdanative GitHub Wiki

(pa-devinfo-inputs devno)

Returns the number of input channels for the audio device with the given integer id.

Parameter Description
devno integer id

Example

> (pa-devinfo-name 0)
"Built-in Microph"
> (pa-devinfo-inputs 0)
2