From 79efc5f2fccc377933ff6863c2bba21cdf506446 Mon Sep 17 00:00:00 2001 From: Carl Karsten Date: Wed, 27 Apr 2016 09:56:55 -0500 Subject: add support for alsa --- example-scripts/gstreamer/ingest.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'example-scripts') diff --git a/example-scripts/gstreamer/ingest.py b/example-scripts/gstreamer/ingest.py index 14ce043..a9e06c4 100755 --- a/example-scripts/gstreamer/ingest.py +++ b/example-scripts/gstreamer/ingest.py @@ -138,6 +138,11 @@ def mk_audio_src(args, audiocaps): pulsesrc {audio_device} name=audiosrc ! """.format(audio_device=audio_device) + elif args.audio_source == 'alsa': + audio_src = """ + alsasrc {audio_device} name=audiosrc ! + """.format(audio_device=audio_device) + elif args.audio_source == 'blackmagichdmi': audio_src = """ decklinkaudiosrc ! -- cgit v1.2.3