setVolume()
The τ Player API
setVolume()
- Dart API: setVolume().
The parameter is a floating point number between 0 and 1.
Volume can be changed when player is running or before starting.
If used before startRecorder()
, the required volume is kept/delayed and set during the following call to startRecorder()
.
Example:
await myPlayer.setVolume(0.1);
Lorem ipsum ...