Add gain to Recorder

This commit is contained in:
FranciscoFilipe 2023-09-09 22:57:45 +01:00
parent 418d04a08e
commit 00d0be8055

View File

@ -51,3 +51,13 @@ func (r *recorder) Rew() {
func (r *recorder) Loop(val bool) { func (r *recorder) Loop(val bool) {
r.setter_bool("Mode.Loop", val) r.setter_bool("Mode.Loop", val)
} }
// Gain returns the value of the Gain parameter
func (r *recorder) Gain() float64 {
return r.getter_float("Gain")
}
// SetGain sets the value of the Gain parameter
func (r *recorder) SetGain(val float64) {
r.setter_float("Gain", val)
}