From df83f9c15fdc67855482d46dfda63a997ff3c904 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Fri, 1 Jul 2022 01:19:16 +0100 Subject: [PATCH] return int from ins,outs in device --- voicemeeter/device.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/voicemeeter/device.go b/voicemeeter/device.go index a6648d8..b37e9e7 100644 --- a/voicemeeter/device.go +++ b/voicemeeter/device.go @@ -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 {