mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-12-03 09:50:47 +00:00
Add gain to Recorder
This commit is contained in:
parent
418d04a08e
commit
00d0be8055
10
recorder.go
10
recorder.go
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user