diff options
author | David Schleef <ds@schleef.org> | 2004-12-15 18:23:31 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-12-15 18:23:31 +0000 |
commit | 7de6c44f445f0bf72fb34f751c1ae333e7a8a661 (patch) | |
tree | 8c6e803ef29deb6b610d59f2341b90eaca513919 /sys/sunaudio/gstsunaudio.c | |
parent | b30b813a3595822288c1729a929002c71eda15d7 (diff) | |
download | gst-plugins-bad-7de6c44f445f0bf72fb34f751c1ae333e7a8a661.tar.gz gst-plugins-bad-7de6c44f445f0bf72fb34f751c1ae333e7a8a661.tar.bz2 gst-plugins-bad-7de6c44f445f0bf72fb34f751c1ae333e7a8a661.zip |
sys/sunaudio/gstsunaudio.c: Apply patch from and cleaning up code a bit. Also ran indent-gst.
Original commit message from CVS:
Reviewed by: David Schleef <ds@schleef.org>
* sys/sunaudio/gstsunaudio.c: (plugin_init): Apply patch from
Bala, registering sunaudiosrc (oops!), and cleaning up code a
bit. Also ran indent-gst.
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_init),
(gst_sunaudiosrc_change_state), (gst_sunaudiosrc_get),
(gst_sunaudiosrc_setparams):
Diffstat (limited to 'sys/sunaudio/gstsunaudio.c')
-rw-r--r-- | sys/sunaudio/gstsunaudio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sunaudio/gstsunaudio.c b/sys/sunaudio/gstsunaudio.c index b58f1826..432fc635 100644 --- a/sys/sunaudio/gstsunaudio.c +++ b/sys/sunaudio/gstsunaudio.c @@ -31,6 +31,7 @@ #include <sys/audioio.h> #include "gstsunelement.h" #include "gstsunmixer.h" +#include "gstsunaudiosrc.h" #define GST_TYPE_SUNAUDIOSINK \ @@ -441,7 +442,9 @@ plugin_init (GstPlugin * plugin) if (!gst_element_register (plugin, "sunaudiosink", GST_RANK_NONE, GST_TYPE_SUNAUDIOSINK) || !gst_element_register (plugin, "sunaudiomixer", GST_RANK_NONE, - GST_TYPE_SUNAUDIOELEMENT)) + GST_TYPE_SUNAUDIOELEMENT) || + !gst_element_register (plugin, "sunaudiosrc", GST_RANK_NONE, + GST_TYPE_SUNAUDIOSRC)) return FALSE; return TRUE; |