arduino-audio-tools
Loading...
Searching...
No Matches
VolumeSupport Class Reference

Supports the setting and getting of the volume. More...

#include <AudioTypes.h>

Public Member Functions

virtual bool setVolume (float volume)
 define the actual volume in the range of 0.0f to 1.0f
virtual float volume ()
 provides the actual volume in the range of 0.0f to 1.0f

Protected Attributes

float volume_value = 1.0f

Detailed Description

Supports the setting and getting of the volume.

Member Function Documentation

◆ setVolume()

virtual bool setVolume ( float volume)
inlinevirtual

define the actual volume in the range of 0.0f to 1.0f

◆ volume()

virtual float volume ( )
inlinevirtual

provides the actual volume in the range of 0.0f to 1.0f

Member Data Documentation

◆ volume_value

float volume_value = 1.0f
protected

The documentation for this class was generated from the following file: