Skip to content

Commit 46a32e5

Browse files
committed
Removed default value of the mute parameter of several functions.
These default parameter is not needed becuase this class is not called from user programmer.
1 parent ffb1ebc commit 46a32e5

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

src/codec/adau1361lower.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ class Adau1361Lower {
173173
* Other input line like aux are not killed. To kill it, user have to mute
174174
* them explicitly.
175175
*/
176-
virtual void SetLineInputGain(float left_gain, float right_gain,
177-
bool mute = false);
176+
virtual void SetLineInputGain(float left_gain, float right_gain, bool mute);
178177
/**
179178
* \brief Set the aux input gain and enable the relevant mixer.
180179
* \param left_gain Gain by dB. [6 .. -12], The gain value outside of the
@@ -186,8 +185,7 @@ class Adau1361Lower {
186185
* Other input lines are not killed. To kill it, user have to mute them
187186
* explicitly.
188187
*/
189-
virtual void SetAuxInputGain(float left_gain, float right_gain,
190-
bool mute = false);
188+
virtual void SetAuxInputGain(float left_gain, float right_gain, bool mute);
191189

192190
/**
193191
* \brief Set the line output gain and enable the relevant mixer.
@@ -201,8 +199,7 @@ class Adau1361Lower {
201199
* explicitly.
202200
*
203201
*/
204-
virtual void SetLineOutputGain(float left_gain, float right_gain,
205-
bool mute = false);
202+
virtual void SetLineOutputGain(float left_gain, float right_gain, bool mute);
206203

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

221217
protected:
222218
::rpp_driver::I2cMasterInterface& i2c_;

0 commit comments

Comments
 (0)