if test x$HAVE_PULSE_0_9_13 = xyes; then
AC_DEFINE(HAVE_PULSE_0_9_13, 1, [defined if pulseaudio >= 0.9.13 is available])
fi
+ AG_GST_PKG_CHECK_MODULES(PULSE_0_9_15, libpulse >= 0.9.15)
+ if test x$HAVE_PULSE_0_9_15 = xyes; then
+ AC_DEFINE(HAVE_PULSE_0_9_15, 1, [defined if pulseaudio >= 0.9.15 is available])
+ fi
])
dnl *** dv1394 ***
GST_WARNING_OBJECT (psink, "Got underflow");
}
-
static void
gst_pulsering_stream_overflow_cb (pa_stream * s, void *userdata)
{
"signed = (boolean) TRUE, "
"width = (int) 32, "
"depth = (int) 32, "
+ "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 32 ];"
+#if HAVE_PULSE_0_9_15
+ "audio/x-raw-int, "
+ "endianness = (int) { " ENDIANNESS " }, "
+ "signed = (boolean) TRUE, "
+ "width = (int) 24, "
+ "depth = (int) 24, "
"rate = (int) [ 1, MAX ], "
"channels = (int) [ 1, 32 ];"
+ "audio/x-raw-int, "
+ "endianness = (int) { " ENDIANNESS " }, "
+ "signed = (boolean) TRUE, "
+ "width = (int) 32, "
+ "depth = (int) 24, "
+ "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 32 ];"
+#endif
"audio/x-raw-int, "
"signed = (boolean) FALSE, "
"width = (int) 8, "
ss->format = PA_SAMPLE_S32LE;
else if (spec->format == GST_S32_BE && spec->width == 32)
ss->format = PA_SAMPLE_S32BE;
+#if HAVE_PULSE_0_9_15
+ else if (spec->format == GST_S24_3LE && spec->width == 24)
+ ss->format = PA_SAMPLE_S24LE;
+ else if (spec->format == GST_S24_3BE && spec->width == 24)
+ ss->format = PA_SAMPLE_S24BE;
+ else if (spec->format == GST_S24_LE && spec->width == 32)
+ ss->format = PA_SAMPLE_S24_32LE;
+ else if (spec->format == GST_S24_BE && spec->width == 32)
+ ss->format = PA_SAMPLE_S24_32BE;
+#endif
else
return FALSE;