Skip to content

Commit

Permalink
Removed default value of the mute parameter of several functions.
Browse files Browse the repository at this point in the history
These default parameter is not needed becuase this class is
not called from user programmer.
  • Loading branch information
suikan4github committed Sep 26, 2024
1 parent ffb1ebc commit 46a32e5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/codec/adau1361lower.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ class Adau1361Lower {
* Other input line like aux are not killed. To kill it, user have to mute
* them explicitly.
*/
virtual void SetLineInputGain(float left_gain, float right_gain,
bool mute = false);
virtual void SetLineInputGain(float left_gain, float right_gain, bool mute);
/**
* \brief Set the aux input gain and enable the relevant mixer.
* \param left_gain Gain by dB. [6 .. -12], The gain value outside of the
Expand All @@ -186,8 +185,7 @@ class Adau1361Lower {
* Other input lines are not killed. To kill it, user have to mute them
* explicitly.
*/
virtual void SetAuxInputGain(float left_gain, float right_gain,
bool mute = false);
virtual void SetAuxInputGain(float left_gain, float right_gain, bool mute);

/**
* \brief Set the line output gain and enable the relevant mixer.
Expand All @@ -201,8 +199,7 @@ class Adau1361Lower {
* explicitly.
*
*/
virtual void SetLineOutputGain(float left_gain, float right_gain,
bool mute = false);
virtual void SetLineOutputGain(float left_gain, float right_gain, bool mute);

/**
* \brief Set the headphone output gain and enable the relevant mixer.
Expand All @@ -215,8 +212,7 @@ class Adau1361Lower {
* Other out line like line in are not killed. To kill it, user have to
* mute them explicitly.
*/
virtual void SetHpOutputGain(float left_gain, float right_gain,
bool mute = false);
virtual void SetHpOutputGain(float left_gain, float right_gain, bool mute);

protected:
::rpp_driver::I2cMasterInterface& i2c_;
Expand Down

0 comments on commit 46a32e5

Please # to comment.