setVolume method

void setVolume(
  1. int channelId,
  2. double volume
)

Sets the volume for the sound on the specified channelId.

Implementation

void setVolume(int channelId, double volume) {
  _backend.setChannelVolume(channelId, volume);
}