mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 05:23:31 +00:00
docstrings added to functions, types and methods
CHANGELOG first update pre-commit updated to look in root of repo. version retraction added to go.mod README updated to reflect changes
This commit is contained in:
@@ -13,16 +13,16 @@ func newDevice() *device {
|
||||
|
||||
// Ins returns the total number of physical input devices
|
||||
func (d *device) Ins() int {
|
||||
return int(get_num_devices("in"))
|
||||
return int(getNumDevices("in"))
|
||||
}
|
||||
|
||||
// Ins returns the total number of physical input devices
|
||||
func (d *device) Outs() int {
|
||||
return int(get_num_devices("out"))
|
||||
return int(getNumDevices("out"))
|
||||
}
|
||||
|
||||
func (d *device) Input(i int) devDesc {
|
||||
n, t_, id := get_device_description(i, "in")
|
||||
n, t_, id := getDeviceDescription(i, "in")
|
||||
vals := map[uint64]string{
|
||||
1: "mme",
|
||||
3: "wdm",
|
||||
@@ -33,7 +33,7 @@ func (d *device) Input(i int) devDesc {
|
||||
}
|
||||
|
||||
func (d *device) Output(i int) devDesc {
|
||||
n, t_, id := get_device_description(i, "out")
|
||||
n, t_, id := getDeviceDescription(i, "out")
|
||||
vals := map[uint64]string{
|
||||
1: "mme",
|
||||
3: "wdm",
|
||||
|
||||
Reference in New Issue
Block a user