summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2009-06-19 01:39:54 -0700
committerPaul W. Frields <stickster@gmail.com>2009-06-19 01:39:54 -0700
commit141be8ea3cfa9c6e931a571adf19769e38e85ab0 (patch)
tree7b7b5a3cd04320ebbb3e63f710e826c05eff3b1a
parenta9199489c4cb2a45c487d19ec4f367ca0c253f60 (diff)
downloadpulsecaster-141be8ea3cfa9c6e931a571adf19769e38e85ab0.tar.gz
pulsecaster-141be8ea3cfa9c6e931a571adf19769e38e85ab0.tar.xz
pulsecaster-141be8ea3cfa9c6e931a571adf19769e38e85ab0.zip
Remove unused gstreamer.py file
-rw-r--r--pulsecaster/__init__.py1
-rw-r--r--pulsecaster/gstreamer.py43
2 files changed, 0 insertions, 44 deletions
diff --git a/pulsecaster/__init__.py b/pulsecaster/__init__.py
index 15026c0..4204c27 100644
--- a/pulsecaster/__init__.py
+++ b/pulsecaster/__init__.py
@@ -21,4 +21,3 @@
from config import *
from ui import *
-from gstreamer import *
diff --git a/pulsecaster/gstreamer.py b/pulsecaster/gstreamer.py
deleted file mode 100644
index d0d155f..0000000
--- a/pulsecaster/gstreamer.py
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/python
-#
-# Copyright (C) 2009 Paul W. Frields
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-#
-# Author: Paul W. Frields <stickster@gmail.com>
-
-
-import pygst
-pygst.require('0.10')
-import gst
-from sys import stdout
-
-class PulseCatcherPipeline:
- def __init__(self, pulseDeviceMyVoice, pulseDeviceOtherVoice):
- # Set up one branch of the Y
- self.yleft = gst.Pipeline('pcPipelineLeft')
- self.lsource = gst.element_factory_make('pulsesrc', 'lsource')
- self.lsource.set_property('device', pulseDeviceMyVoice)
- self.lencoder = gst.element_factory_make('vorbisenc', 'lencoder')
- self.lencoder.set_property('quality', 0.5)
- self.lmuxer = gst.element_factory_make('oggmux', 'lmuxer')
- #self.add(self.lsource, self.lencoder, self.lmuxer)
- # Set up other branch
- self.yright = gst.Pipeline('pcPipelineRight')
- self.rsource = gst.element_factory_make('pulsesrc', 'rsource')
- self.rsource.set_property('device', pulseDeviceOtherVoice)
- self.rencoder = gst.element_factory_make('vorbisenc', 'rencoder')
- self.rencoder.set_property('quality', 0.5)
- self.rmuxer = gst.element_factory_make('oggmux', 'rmuxer')