<div dir="ltr">Given an audio source that produces audio in N byte chunks, and a downstream element that consumes chunks of N*4 bytes, what is the best way to link these elements?<div><br></div><div>I have encountered this problem with a plugin that transforms audio from 4 to 2 channels. Gstreamer seems to lack docs on the topic of block sizes, so I feel like I have missed some important knowledge about how audio sources are supposed to operate.</div><div><br></div><div>I could change the audio source to produce these fixed sized blocks, or the downstream element to accept smaller blocks and accumulate them, e.g. with a GstAdapter. This seems brittle and sounds like a general purpose plugin should be provided for this purpose. Is that audiobuffersplit, or is there some other technique? </div><div><br></div><div><br><div><br></div><div><br></div></div></div>