Capture Devices
0: Discard all samples (playback) or generate zero samples (capture), [ok]
1: Default Audio Device, [ok]
2: Default Audio Device, [ok]
3: USB PnP Sound Device, USB Audio, [ok]
panic: runtime error: cgo argument has Go pointer to unpinned Go pointer
I am trying to select specific capture device by setting deviceConfig.Capture.DeviceID but code
produces an panic
Capture Devices 0: Discard all samples (playback) or generate zero samples (capture), [ok] 1: Default Audio Device, [ok] 2: Default Audio Device, [ok] 3: USB PnP Sound Device, USB Audio, [ok] panic: runtime error: cgo argument has Go pointer to unpinned Go pointer