setMusicPitch abstract method
Adjusting the Pitch of Background Music
This API is used to adjust the pitch of background music.
- Parameters:
- id(int):
- Music ID.
- pitch(int):
- Pitch. Value range: floating point numbers in the range of
-1, 1
; default: 0.0f.
- Pitch. Value range: floating point numbers in the range of
- id(int):
Implementation
void setMusicPitch(int id, double pitch);