How to resample a audio file

Hello:

How can we resample a audio file from 48000 to 44100 ?

to decrease sample rate you need to drop samples out.

img12681

bandlimited downsampling (the one i think youre looking for) is when you reduce the sampling rate itself but that also means you need to use a filter to prevent aliasing.

decimation downsampling reduces the quality of a sample. check this

Thanks, I mean did has exists Juce API for the task.

Have you tried searching the documentation?
https://docs.juce.com/master/classResamplingAudioSource.html