Audiotouch with juce

I am working with a bunch of positionableaudiosource loaded into an audiomixer.
I want to resample them. I loaded the latest soundtouch as a library to my project but I only can do is save waves and load them into a twin channel and continue the wave from the point, multiplied by length ratios. i feel this is not the correct way to do sampling. How can I do it for a single positionable audiosource in real time? Any sample source code or project where I can check it?

Thanks folks, would be a big help.