Arduino A2DP
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
A2DPDefaultVolumeControl Class Reference

Default implementation for handling of the volume of the audio data. More...

#include <A2DPVolumeControl.h>

Inheritance diagram for A2DPDefaultVolumeControl:
A2DPVolumeControl

Public Member Functions

int32_t get_volume_factor ()
 
int32_t get_volume_factor_max ()
 
void set_enabled (bool enabled)
 
void set_mono_downmix (bool enabled)
 
virtual void update_audio_data (Frame *data, uint16_t frameCount)
 

Protected Member Functions

void set_volume (uint8_t volume) override
 

Protected Attributes

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

Detailed Description

Default implementation for handling of the volume of the audio data.

Author
elehobica

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