<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello<br><br>I have a question regarding the use of "gst_element_link_filtered" in my pipeline.<br>My app display harmonics of the sound either from the mic, or from a sound file.<br><br>If microphone is the source, pipeline looks like this :<br><br>alsasrc, equalizer, equalizer2, equalizer3, audioconvert1, BP_BRfilter, audioconvert2, spectrum, flacenc, autoaudiosink<br><br>If an audio file is the source, I use a playbin whose sink is a pipeline like this :<br><br>audioconvert1, equalizer, equalizer2, equalizer3, audioconvert1, audiochebband, audioconvert2, spectrum, flacenc, autoaudiosink<br><br>I have seen in the example that spectrum should be linked that way :<br><br>caps = gst_caps_new_simple ("audio/x-raw", "rate", G_TYPE_INT, AUDIOFREQ, NULL);  (or "audio/x-raw-int" in gst-0.10)<br><br>  if (!gst_element_link (src, audioconvert) ||<br>      !gst_element_link_filtered (audioconvert, spectrum, caps) ||<br>      !gst_element_link (spectrum, sink)) {<br>    fprintf (stderr, "can't link elements\n");<br>    exit (1);<br>  }<br>  gst_caps_unref (caps);<br><br>But in my case, "gst_element_link_many" works. 'gst_element_link_filtered" seems unnecessary. Where should I put it to be correct? After each Audioconvert element?<br><br>In the example of equalizer, a single capsfilter element is created and put between src and equalizer-spectrum-sink.<br><br>Actually, if I put it or not, it works exactly the same. But since I have a problem of high ratio backgroung noise/sound after porting from gst-0.10 to gst-1.0, I want to see if I can improve something here.<br><br>Thank you<br><br>Victor<br>                                        </div></body>
</html>