Merge pull request #4 from Francisco46018/dev

Add gain to Recorder
This commit is contained in:
Onyx and Iris 2023-10-04 15:02:08 +01:00 committed by GitHub
commit dd55dd8fdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,3 +51,13 @@ func (r *recorder) Rew() {
func (r *recorder) Loop(val bool) {
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)
}