ekiga r7475 - trunk/lib/engine/components/gstreamer



Author: jpuydt
Date: Sun Dec 21 20:27:46 2008
New Revision: 7475
URL: http://svn.gnome.org/viewvc/ekiga?rev=7475&view=rev

Log:
Added a default alsa output and a default alsa input

Modified:
   trunk/lib/engine/components/gstreamer/gst-audioinput.cpp
   trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp

Modified: trunk/lib/engine/components/gstreamer/gst-audioinput.cpp
==============================================================================
--- trunk/lib/engine/components/gstreamer/gst-audioinput.cpp	(original)
+++ trunk/lib/engine/components/gstreamer/gst-audioinput.cpp	Sun Dec 21 20:27:46 2008
@@ -310,7 +310,9 @@
       }
       g_value_array_free (array);
     }
-    
+
+    devices_by_name[std::pair<std::string,std::string>("ALSA","---")] = "volume name=ekiga_volume ! alsasrc";
+
     gst_element_set_state (elt, GST_STATE_NULL);
     gst_object_unref (GST_OBJECT (elt));
   }

Modified: trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp
==============================================================================
--- trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp	(original)
+++ trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp	Sun Dec 21 20:27:46 2008
@@ -323,6 +323,8 @@
       g_value_array_free (array);
     }
 
+    devices_by_name[std::pair<std::string,std::string>("ALSA","---")] = "volume name=ekiga_volume ! alsasink";
+
     gst_element_set_state (elt, GST_STATE_NULL);
     gst_object_unref (GST_OBJECT (elt));
   }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]