setRate method

void setRate(
  1. int channelId,
  2. double rate
)

Sets the playback rate for the sound on the specified channelId.

Implementation

void setRate(int channelId, double rate) {
  _backend.setChannelRate(channelId, rate);
}