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

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

#include <CodecOpusOgg.h>

Inheritance diagram for VolumeSupport:
A2DPStream AudioPlayer Boost GeneratorFromStream< T > I2SCodecStream Maximilian MozziStream USBAudioStreamBase VS1053Stream VolumeStream GeneratorFromStream< T > GeneratorFromStream< T >

Public Member Functions

virtual bool setVolume (float volume)
 define the actual volume in the range of 0.0f to 1.0f
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
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() [1/2]

virtual bool setVolume ( float volume)
inlinevirtual

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

Reimplemented in A2DPStream, AudioPlayer, Boost, I2SCodecStream, Maximilian, USBAudioStreamBase, VolumeStream, and VS1053Stream.

◆ setVolume() [2/2]

virtual bool setVolume ( float volume)
inlinevirtual

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

Reimplemented in A2DPStream, AudioPlayer, Boost, I2SCodecStream, Maximilian, USBAudioStreamBase, VolumeStream, and VS1053Stream.

◆ volume() [1/2]

virtual float volume ( )
inlinevirtual

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

Reimplemented in AudioPlayer, I2SCodecStream, USBAudioStreamBase, VolumeStream, and VS1053Stream.

◆ volume() [2/2]

virtual float volume ( )
inlinevirtual

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

Reimplemented in AudioPlayer, I2SCodecStream, USBAudioStreamBase, VolumeStream, and VS1053Stream.

Member Data Documentation

◆ volume_value

float volume_value = 1.0f
protected

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