setPlaybackRate() can really be used, but probably not what you are looking for.
Suppose you have an audio stream at 44100. You can use this function to set the playback speed to 22050 Hz, which means that the samples will be sent to the audio output at half speed, and this will really slow down the music. The disadvantage is that the frequency of the sound will also drop to half, due to the same fact that the samples are fed at half speed.
API Android . , Java, .
- ++ JNI, , , , ffmpeg.