diff options
author | Carl Karsten <carl@personnelware.com> | 2016-04-27 09:56:55 -0500 |
---|---|---|
committer | Carl Karsten <carl@personnelware.com> | 2016-04-27 09:56:55 -0500 |
commit | 79efc5f2fccc377933ff6863c2bba21cdf506446 (patch) | |
tree | e57e47ed19a5f5d6b8188b7d81c05e16bb73ea64 /example-scripts | |
parent | abad5efe4e1665bc6e49fb69684db1fc183dee5e (diff) |
add support for alsa
Diffstat (limited to 'example-scripts')
-rwxr-xr-x | example-scripts/gstreamer/ingest.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 ! |