mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 05:23:31 +00:00
Compare commits
3 Commits
d7aa02e516
...
v2.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
| ea6a41bf4f | |||
| 30cacfac91 | |||
|
|
2364ea13aa |
@@ -11,6 +11,13 @@ Before any major/minor/patch bump all unit tests will be run to verify they pass
|
|||||||
|
|
||||||
- [x]
|
- [x]
|
||||||
|
|
||||||
|
## [2.1.1] - 2026-04-12
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- {Bus}.Sel()/{Bus}.SetSel() and {Bus}.Monitor()/{Bus}.SetMonitor(). [PR #9](https://github.com/onyx-and-iris/voicemeeter/pull/9)
|
||||||
|
|
||||||
|
|
||||||
## [2.1.0] - 2024-07-01
|
## [2.1.0] - 2024-07-01
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -18,6 +25,7 @@ Before any major/minor/patch bump all unit tests will be run to verify they pass
|
|||||||
- Added a configurable login timeout in seconds (defaults to 2).
|
- Added a configurable login timeout in seconds (defaults to 2).
|
||||||
- Option function added for overriding the type of Voicemeeter GUI runVoicemeeter() will launch.
|
- Option function added for overriding the type of Voicemeeter GUI runVoicemeeter() will launch.
|
||||||
- Explanation of Option functions added to README.
|
- Explanation of Option functions added to README.
|
||||||
|
- {Recorder}.Gain. [PR #4](https://github.com/onyx-and-iris/voicemeeter/pull/4)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -336,6 +336,10 @@ The following methods are available
|
|||||||
- `SetMute(val bool)`
|
- `SetMute(val bool)`
|
||||||
- `Mono() bool`
|
- `Mono() bool`
|
||||||
- `SetMono(val bool)`
|
- `SetMono(val bool)`
|
||||||
|
- `Sel() bool`
|
||||||
|
- `SetSel(val bool)`
|
||||||
|
- `Monitor() bool`
|
||||||
|
- `SetMonitor(val bool)`
|
||||||
- `Label() string`
|
- `Label() string`
|
||||||
- `SetLabel(val string)`
|
- `SetLabel(val string)`
|
||||||
- `Gain() float64`
|
- `Gain() float64`
|
||||||
|
|||||||
24
bus.go
24
bus.go
@@ -12,6 +12,10 @@ type iBus interface {
|
|||||||
SetMute(val bool)
|
SetMute(val bool)
|
||||||
Mono() bool
|
Mono() bool
|
||||||
SetMono(val bool)
|
SetMono(val bool)
|
||||||
|
Sel() bool
|
||||||
|
SetSel(val bool)
|
||||||
|
Monitor() bool
|
||||||
|
SetMonitor(val bool)
|
||||||
Label() string
|
Label() string
|
||||||
SetLabel(val string)
|
SetLabel(val string)
|
||||||
Gain() float64
|
Gain() float64
|
||||||
@@ -51,6 +55,26 @@ func (b *bus) SetMono(val bool) {
|
|||||||
b.setter_bool("Mono", val)
|
b.setter_bool("Mono", val)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sel returns the value of the Sel parameter
|
||||||
|
func (b *bus) Sel() bool {
|
||||||
|
return b.getter_bool("Sel")
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetSel sets the alue of the Sel parameter
|
||||||
|
func (b *bus) SetSel(val bool) {
|
||||||
|
b.setter_bool("Sel", val)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Monitor returns the value of the Monitor parameter
|
||||||
|
func (b *bus) Monitor() bool {
|
||||||
|
return b.getter_bool("Monitor")
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetMonitor sets the alue of the Monitor parameter
|
||||||
|
func (b *bus) SetMonitor(val bool) {
|
||||||
|
b.setter_bool("Monitor", val)
|
||||||
|
}
|
||||||
|
|
||||||
// Label returns the value of the MC parameter
|
// Label returns the value of the MC parameter
|
||||||
func (b *bus) Label() string {
|
func (b *bus) Label() string {
|
||||||
return b.getter_string("Label")
|
return b.getter_string("Label")
|
||||||
|
|||||||
Reference in New Issue
Block a user