Can you make this a *sampleQueue and allocate it in setContext if it's not set? Otherwise every channel will always get a full size Atrac3plus_Decoder::sampleQueue whether they need one or not, waste of RAM.