mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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.
This commit is contained in:
parent
4b7e9b70f7
commit
c82eca96a6
4 changed files with 12 additions and 12 deletions
|
@ -1,3 +1,11 @@
|
|||
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):
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue