<div dir="ltr"><div dir="ltr">Hi PA developers!<br clear="all"><div><br></div><div>As you can see here <a href="https://github.com/wwmm/pulseeffects/issues/288">https://github.com/wwmm/pulseeffects/issues/288</a> there are users that would like to have avoid-resampling supported in PulseEffects(and I would like it too). But honestly I am out of good ideas about how to do this. At this moment I am using null sinks to do the audio routing and there is a Gstreamer pipeline that records from it. I can change the format and rate of the GStreamer pipiline to the ones used by the audio application being processed but as I can't do the same to the null sink it would be pointless. The resampling would happen anyway.</div><div><br></div><div>At this moment the only way I see to support avoid-resampling would be to reload the null sink with the new rate and format. But this is really annoying because as soon as I kill the null sink Pulseaudio will move the audio application back to the default device. It is not impossible to deal with this. But it may require major changes in the code.</div><div><br></div><div>Is reloading the null sink the only way to deal with this? It crossed my mind to try to make a custom null sink that could change these parameters on the fly. But besides the fact that Arch Linux packages do not have Pulseaudio developement headers I don't even know if it is possible to make any null sink that would accept this.</div><div><br></div><div>Any suggestion would be welcome.</div><div><br></div><div>Best regards,</div><div>                 Wellington</div><div><br></div>-- <br><div dir="ltr" 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>