Add audioconvert and audioresample, for the sake of completeness.

This commit is contained in:
Xavi Artigas 2012-10-09 17:11:11 +02:00
parent 4a6aa57dda
commit 58a597aa20

View file

@ -145,7 +145,7 @@ static void *app_function (void *userdata) {
data->context = g_main_context_new ();
/* Build pipeline */
data->pipeline = gst_parse_launch("audiotestsrc ! autoaudiosink", &error);
data->pipeline = gst_parse_launch("audiotestsrc ! audioconvert ! audioresample ! autoaudiosink", &error);
if (error) {
gchar *message = g_strdup_printf("Unable to build pipeline: %s", error->message);
g_clear_error (&error);