Function ev3dev_lang_rust::sound::get_volume [−][src]
Expand description
Gets the current sound volume by parsing the output of
amixer get <channel>.
It tries to determine the default channel
by running amixer scontrols. If that fails as well, it uses the
Playback channel, as that is the only channel on the EV3.
