summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstossaudio.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-08-23 13:53:17 +0000
committerAndy Wingo <wingo@pobox.com>2005-08-23 13:53:17 +0000
commitb976e88c29914b3d35b3e02612b22741998934d8 (patch)
tree8fc8e4e1241cfaf3631be3f9b5cc7fdbf787b633 /sys/oss/gstossaudio.c
parent007a0868a3d0e174a518fadbfd613bd233c8ae71 (diff)
sys/oss/gstossmixerelement.*: Added mixer element like alsamixer.
Original commit message from CVS: 2005-08-23 Andy Wingo <wingo@pobox.com> * sys/oss/gstossmixerelement.h: * sys/oss/gstossmixerelement.c: Added mixer element like alsamixer. * sys/oss/Makefile.am: * sys/oss/gstossaudio.c: Register the ossmixer element.
Diffstat (limited to 'sys/oss/gstossaudio.c')
-rw-r--r--sys/oss/gstossaudio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index 219a0367..500cea67 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -23,6 +23,7 @@
#include "gst/gst-i18n-plugin.h"
+#include "gstossmixerelement.h"
#include "gstosssink.h"
#include "gstosssrc.h"
@@ -33,8 +34,8 @@ GST_DEBUG_CATEGORY (oss_debug);
static gboolean
plugin_init (GstPlugin * plugin)
{
- if ( /*!gst_element_register (plugin, "ossmixer", GST_RANK_PRIMARY,
- GST_TYPE_OSSELEMENT) || */
+ if (!gst_element_register (plugin, "ossmixer", GST_RANK_NONE,
+ GST_TYPE_OSS_MIXER_ELEMENT) ||
!gst_element_register (plugin, "osssrc", GST_RANK_PRIMARY,
GST_TYPE_OSS_SRC) ||
!gst_element_register (plugin, "osssink", GST_RANK_SECONDARY,