pa odev exists - part-cw/lambdanative GitHub Wiki
(pa-odev-exists? devname)
Returns a list if an audio output device of the given name is connected, otherwise false.
Parameter | Description |
---|---|
devname | audio device name |
Example
> (pa-odev-exists? "Built-in Microph")
#f
> (pa-idev-exists? "Built-in Microph")
("Built-in Microph" "QUAD-CAPTURE")