AC_CHECK_HEADERS([process.h])
AG_GST_PKG_CHECK_MODULES(PULSE, libpulse >= 1.0)
- AG_GST_PKG_CHECK_MODULES(PULSE_2_0, libpulse >= 2.0)
- if test x$HAVE_PULSE_2_0 = xyes; then
- AC_DEFINE(HAVE_PULSE_2_0, 1, [defined if pulseaudio >= 2.0 is available])
- fi
-
])
dnl *** dv1394 ***
pa_threaded_mainloop_signal (mainloop, 0);
}
-#ifdef HAVE_PULSE_2_0
static gboolean
gst_pulse_format_info_int_prop_to_value (pa_format_info * format,
const char *key, GValue * value)
out:
return ret;
}
-#endif
/* Call with mainloop lock held */
static pa_stream *
return NULL;
}
-#ifdef HAVE_PULSE_2_0
static GstCaps *
gst_pulsesink_query_getcaps (GstPulseSink * psink, GstCaps * filter)
{
goto unlock;
}
}
-#endif
static gboolean
gst_pulsesink_query_acceptcaps (GstPulseSink * psink, GstCaps * caps)
gboolean ret;
switch (GST_QUERY_TYPE (query)) {
-#ifdef HAVE_PULSE_2_0
case GST_QUERY_CAPS:
{
GstCaps *caps, *filter;
return FALSE;
}
}
-#endif
case GST_QUERY_ACCEPT_CAPS:
{
GstCaps *caps;