im trying to write a decoder that takes data in at one rate and format and outputs at another rate and format. as an example imagine the input is a U8 stream of packed bits and the output is effectively those bits separated as individual samples with some S16LE value. im using a test harness to validate its operation. i initially tried inheriting from an AudioDecoder but got a negotiation error when trying to push a buffer. i then thought maybe the BaseTransform class was more suitable but i couldne even get the harness to successfully link to my element.
tl;dr im wonder if what the optimal path would be for this use case and what critical virtual methods i might need to implement.