Arduino A2DP
Public Member Functions | Protected Attributes | List of all members
A2DPVolumeControl Class Referenceabstract

Abstract class for handling of the volume of the audio data. More...

#include <A2DPVolumeControl.h>

Inheritance diagram for A2DPVolumeControl:
A2DPDefaultVolumeControl A2DPLinearVolumeControl A2DPNoVolumeControl A2DPSimpleExponentialVolumeControl

Public Member Functions

virtual void update_audio_data (Frame *data, uint16_t frameCount)
 
int32_t get_volume_factor ()
 
int32_t get_volume_factor_max ()
 
void set_enabled (bool enabled)
 
void set_mono_downmix (bool enabled)
 
virtual void set_volume (uint8_t volume)=0
 

Protected Attributes

bool is_volume_used = false
 
bool mono_downmix = false
 
int32_t volumeFactor
 
int32_t volumeFactorMax
 

Detailed Description

Abstract class for handling of the volume of the audio data.

Author
Phil Schatzmann

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