Cocos 2dx control playback speed of currently playing audio effect

141 views Asked by At

Hi I am playing a sound effect in a cocos game using this method from SimpleAudioEngine Is there a way to control the playback rate (speed up or slow down) of this audio at runtime.

int playEffect(const char* filePath, bool loop = false,
                                    float pitch = 1.0f, float pan = 0.0f, float gain = 1.0f);
0

There are 0 answers