summaryrefslogtreecommitdiffstats
path: root/ext/soundtouch
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-10-10 11:44:01 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-10-10 11:44:01 +0000
commitbb6c23aa436744475e48448dce389863c0b049a4 (patch)
tree395bb7f29605075098755fb1fbcc98610b630422 /ext/soundtouch
parentd73a5f3250bca1e85028a74c8c35c081e1ef677f (diff)
downloadgst-plugins-bad-bb6c23aa436744475e48448dce389863c0b049a4.tar.gz
gst-plugins-bad-bb6c23aa436744475e48448dce389863c0b049a4.tar.bz2
gst-plugins-bad-bb6c23aa436744475e48448dce389863c0b049a4.zip
configure.ac: Require core CVS. This is implicit in the -base CVS requirement already, so we might just well spell i...
Original commit message from CVS: * configure.ac: Require core CVS. This is implicit in the -base CVS requirement already, so we might just well spell it out. Also, we do need at least 0.10.14 for gst_element_class_set_details_simple(). Make check for gmyth a bit more restrictive so things don't break if the next version changes API. * ext/alsaspdif/alsaspdifsink.c: Work around alsa alloca macros triggering 'always evaluates to true' warnings with gcc-4.2 and fix compilation with gcc-4.2. Also don't leak the device string. * ext/mpeg2enc/gstmpeg2enc.cc: * ext/soundtouch/gstpitch.cc: * gst/modplug/gstmodplug.cc: Fix compilation with g++4.2 and -Wall -Werror (also needs plugin define fix from core CVS). Fixes #462737.
Diffstat (limited to 'ext/soundtouch')
-rw-r--r--ext/soundtouch/gstpitch.cc17
1 files changed, 4 insertions, 13 deletions
diff --git a/ext/soundtouch/gstpitch.cc b/ext/soundtouch/gstpitch.cc
index da90c513..b1a019f2 100644
--- a/ext/soundtouch/gstpitch.cc
+++ b/ext/soundtouch/gstpitch.cc
@@ -47,23 +47,12 @@ struct _GstPitchPrivate
soundtouch::SoundTouch * st;
};
-static GstElementDetails gst_pitch_details =
-GST_ELEMENT_DETAILS ("Pitch controller",
- "Filter/Converter/Audio",
- "Control the pitch of an audio stream",
- "Wouter Paesen <wouter@kangaroot.net>");
-
-enum
-{
- LAST_SIGNAL
-};
-
enum
{
ARG_0,
ARG_RATE,
ARG_TEMPO,
- ARG_PITCH,
+ ARG_PITCH
};
#define SUPPORTED_CAPS \
@@ -117,7 +106,9 @@ gst_pitch_base_init (gpointer g_class)
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&gst_pitch_sink_template));
- gst_element_class_set_details (gstelement_class, &gst_pitch_details);
+ gst_element_class_set_details_simple (gstelement_class, "Pitch controller",
+ "Filter/Converter/Audio", "Control the pitch of an audio stream",
+ "Wouter Paesen <wouter@kangaroot.net>");
}
static void