testing for alsa device

Carl Karsten carl at nextdayvideo.com
Tue Mar 26 18:08:28 UTC 2019


How should my python code test to see if "hw:1,0" is a valid alsa device?
source if it matters.

or whatever string gets passed to my app:
 https://github.com/CarlFK/voctomix-outcasts/blob/master/ingest.py#L216

The plan is if it fails the test, fall back to audiotestsrc


-- 
Carl K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190326/d6e78cdd/attachment.html>


More information about the gstreamer-devel mailing list