From 58a597aa20e71a825dfc5f2f9f4eaccbe504b39e Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Tue, 9 Oct 2012 17:11:11 +0200 Subject: [PATCH] Add audioconvert and audioresample, for the sake of completeness. --- gst-sdk/tutorials/android-tutorial-2/jni/tutorial-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-sdk/tutorials/android-tutorial-2/jni/tutorial-2.c b/gst-sdk/tutorials/android-tutorial-2/jni/tutorial-2.c index 5b2d9241e8..1f61489f88 100644 --- a/gst-sdk/tutorials/android-tutorial-2/jni/tutorial-2.c +++ b/gst-sdk/tutorials/android-tutorial-2/jni/tutorial-2.c @@ -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);