<div dir="ltr">Hi!<div><br></div><div>In my application I allow the users to change pulsesrc latency-time and buffer-time. But over time I realized a few limitations and problems:</div><div><br></div><div>1) Changes to these parameters do not take effect when the pipeline is in the playing state. This is not a problem for me. I am just curious if this is the intended behavior or a bug.</div><div><br></div><div>2) Depending on sampling rate there a few values that cannot be assigned to latency-time parameter. For example with 48 kHz I can set latency-time to 1,2,3,4,5,6,7,8,9,10 miliseconds with no problem. But with 44.1 kHz only 1 ms and 10 ms work. With any other value the pipeline crashes with one of the following errors:</div><div><br></div><div>gst_level_transform_ip: assertion 'num_int_samples % channels == 0' failed<br></div><div><br></div><div>ERROR:gstspectrum.c:991:gst_spectrum_transform_ip: assertion failed: (size == 0) <br clear="all"><div><br></div><div>For the majority of latency values the error that happens is the one with <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">gst_level_transform_ip. </span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div>As I could not find any documentation talking about restriction to pulsesrc latency values I imagine I am doing something wrong. But what could be? In case there are indeed forbidden values how can I avoid them?</div><div><br></div><div>Best regards,</div><div><br></div><div> Wellington</div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Prof.° Wellington Wallace Miguel Melo<br><br><div>CEFET/RJ Uned Nova Iguaçu<br><br></div></div></div>
</div></div>