mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
Add audioconvert and audioresample, for the sake of completeness.
This commit is contained in:
parent
4a6aa57dda
commit
58a597aa20
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ static void *app_function (void *userdata) {
|
||||||
data->context = g_main_context_new ();
|
data->context = g_main_context_new ();
|
||||||
|
|
||||||
/* Build pipeline */
|
/* Build pipeline */
|
||||||
data->pipeline = gst_parse_launch("audiotestsrc ! autoaudiosink", &error);
|
data->pipeline = gst_parse_launch("audiotestsrc ! audioconvert ! audioresample ! autoaudiosink", &error);
|
||||||
if (error) {
|
if (error) {
|
||||||
gchar *message = g_strdup_printf("Unable to build pipeline: %s", error->message);
|
gchar *message = g_strdup_printf("Unable to build pipeline: %s", error->message);
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
|
|
Loading…
Reference in a new issue