mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-24 22:00:52 +00:00
return int from ins,outs in device
This commit is contained in:
parent
7e480c7082
commit
df83f9c15f
@ -12,13 +12,13 @@ func newDevice() *device {
|
||||
}
|
||||
|
||||
// Ins returns the total number of physical input devices
|
||||
func (d *device) Ins() uint64 {
|
||||
return get_num_devices("in")
|
||||
func (d *device) Ins() int {
|
||||
return int(get_num_devices("in"))
|
||||
}
|
||||
|
||||
// Ins returns the total number of physical input devices
|
||||
func (d *device) Outs() uint64 {
|
||||
return get_num_devices("out")
|
||||
func (d *device) Outs() int {
|
||||
return int(get_num_devices("out"))
|
||||
}
|
||||
|
||||
func (d *device) Input(i int) devDesc {
|
||||
|
Loading…
Reference in New Issue
Block a user