diff options
author | MaZderMind <github@mazdermind.de> | 2015-05-10 16:28:38 +0200 |
---|---|---|
committer | MaZderMind <github@mazdermind.de> | 2015-05-10 16:28:38 +0200 |
commit | b9ec27da68ddce2afc94454e92a78fe262812a0e (patch) | |
tree | eb917f731b6d199c6a76b1cf541d6f6af29ca6fd /voctocore/lib/failaudiosrc.py | |
parent | f8a0b46028b9c902da7ce67590f9ce952ea44544 (diff) |
Implementing a Video-Switching-Server is easy … if you know what your're doing
Diffstat (limited to 'voctocore/lib/failaudiosrc.py')
-rw-r--r-- | voctocore/lib/failaudiosrc.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/voctocore/lib/failaudiosrc.py b/voctocore/lib/failaudiosrc.py deleted file mode 100644 index 0ce885e..0000000 --- a/voctocore/lib/failaudiosrc.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/python3 -import time, logging -from gi.repository import GLib, Gst - -from lib.config import Config - -class FailAudioSrc(Gst.Bin): - log = logging.getLogger('FailAudioSrc') - - def __init__(self, idx, name): - super().__init__() - - # Create elements - self.failsrc = Gst.ElementFactory.make('audiotestsrc', None) - - # Add elements to Bin - self.add(self.failsrc) - - # Set properties - self.failsrc.set_property('freq', 400+idx*50) - - # Add Ghost Pads - self.add_pad( - Gst.GhostPad.new('src', self.failsrc.get_static_pad('src')) - ) |