[farsight2/master] Default the test gui to alsasrc

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:21:16 PST 2008


---
 tests/gui/fs2-gui.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/gui/fs2-gui.py b/tests/gui/fs2-gui.py
index 988ac91..5720ca9 100644
--- a/tests/gui/fs2-gui.py
+++ b/tests/gui/fs2-gui.py
@@ -261,10 +261,11 @@ class FsUIAudioSource(FsUISource):
         return farsight.MEDIA_TYPE_AUDIO
 
     def make_source(self):
-        source = gst.element_factory_make("audiotestsrc")
-        source.set_property("is-live", True)
-        return source
-        #return gst.element_factory_make("alsasrc")
+        #source = gst.element_factory_make("audiotestsrc")
+        #source.set_property("is-live", True)
+        #source.set_property("wave", 5)
+        #return source
+        return gst.element_factory_make("alsasrc")
 
 
 
-- 
1.5.6.5




More information about the farsight-commits mailing list