Commit c82eca96 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

configure.ac: Require GLib 2.12 and liboil 0.3.14.

Original commit message from CVS:
* configure.ac:
Require GLib 2.12 and liboil 0.3.14.
* gst/volume/gstvolume.c: (volume_process_double):
Unconditionally use liboil 0.3.14 function.
parent 4b7e9b70
2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
* configure.ac:
Require GLib 2.12 and liboil 0.3.14.
* gst/volume/gstvolume.c: (volume_process_double):
Unconditionally use liboil 0.3.14 function.
2008-03-31 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
common @ 5421815a
Subproject commit 4221e9dcb05faa6f6f7ba19bba32fe90da4577dd
Subproject commit 5421815aeed8b2d73a4d4d4a4b8eb2c93f1b7d02
......@@ -242,12 +242,12 @@ AG_GST_CHECK_FUNCTION
dnl *** checks for dependency libraries ***
dnl GLib is required
AG_GST_GLIB_CHECK([2.6])
AG_GST_GLIB_CHECK([2.12])
dnl liboil is required
PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.8, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.14, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
if test "x$HAVE_LIBOIL" != "xyes"; then
AC_ERROR([liboil-0.3.8 or later is required])
AC_ERROR([liboil-0.3.14 or later is required])
fi
dnl checks for gstreamer
......
......@@ -457,17 +457,9 @@ volume_process_double (GstVolume * this, gpointer bytes, guint n_bytes)
gdouble *data = (gdouble *) bytes;
guint num_samples = n_bytes / sizeof (gdouble);
#ifdef oil_scalarmultiply_f64_ns
gdouble vol = this->real_vol_f;
oil_scalarmultiply_f64_ns (data, data, &vol, num_samples);
#else
gint i;
for (i = 0; i < num_samples; i++) {
*data++ *= this->real_vol_f;
}
#endif
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment