gb.sound.setVolume

From Gamebuino Wiki
Jump to: navigation, search

Description

Sets the volume of the Gamebuino's Speaker Using 0 will mute it, 1 will allow it to make sound.

Syntax

gb.sound.setVolume(volume, channel);

Value

  • volume (byte): The volume of the speaker.
  • channel (unsigned byte) (optional): Specifies which channel's volume is changed.

Example

See also

Personal tools
Namespaces

Variants
Actions
Navigation
Misc
Toolbox