setVolume abstract method
- int audioEffectID,
- int volume
Set volume for a single audio effect. Both the local play volume and the publish volume are set.
Available since: 1.16.0
Description: Set volume for a single audio effect. Both the local play volume and the publish volume are set.
When to call: The specified audioEffectID
is start.
Restrictions: None.
audioEffectID
ID for the audio effect.volume
Volume.
Value range: The range is 0 ~ 200.
Default value: The default is 100.
Implementation
Future<void> setVolume(int audioEffectID, int volume);