When leaving the Audio Input Monitor on RadioMail, varanny often quit unexpectedly. Here is text from the command line.. Relevant lines are at the end.
C:\Users\va2ss>varanny.exe
2024/02/09 21:34:09 Loading configuration from C:\Users\va2ss\varanny.json
2024/02/09 21:34:09 Starting varanny 0.2.12
2024/02/09 21:34:09 Advertising DNS-SD services
2024/02/09 21:34:09 Multicast network interfaces: [Hotspot Wi-Fi]
2024/02/09 21:34:09 Listening on [::]:8273
2024/02/09 21:34:09 Waiting for connections...
2024/02/09 21:34:21 New connection
2024/02/09 21:34:21 Received command: monitor IC705HF
2024/02/09 21:34:21 Monitoring audio device 'Icom IC-705 (USB Audio CODEC )' found in C:\VARA_HF\VARA.ini
Loading library: ole32.dll
Loading symbol: CoInitializeEx
Loading symbol: CoUninitialize
Loading symbol: CoCreateInstance
Loading symbol: CoTaskMemFree
Loading symbol: PropVariantClear
Loading symbol: StringFromGUID2
Loading library: user32.dll
Loading symbol: GetForegroundWindow
Loading symbol: GetDesktopWindow
Loading library: advapi32.dll
Loading symbol: RegOpenKeyExA
Loading symbol: RegCloseKey
Loading symbol: RegQueryValueExA
Attempting to initialize WASAPI backend...
Loading library: kernel32.dll
Loading symbol: VerifyVersionInfoW
Loading symbol: VerSetConditionMask
Loading library: avrt.dll
Loading symbol: AvSetMmThreadCharacteristicsW
Loading symbol: AvRevertMmThreadCharacteristics
System Architecture:
Endian: LE
SSE2: YES
AVX2: NO
NEON: NO
2024/02/09 21:34:21 Found capture audio devices: 2
2024/02/09 21:34:21 Device name (found match): Icom IC-705 (USB Audio CODEC ) (similarity: 1 threshold: 1 )
Loading library: ole32.dll
Loading symbol: CoInitializeEx
Loading symbol: CoUninitialize
Loading symbol: CoCreateInstance
Loading symbol: CoTaskMemFree
Loading symbol: PropVariantClear
Loading symbol: StringFromGUID2
Loading library: user32.dll
Loading symbol: GetForegroundWindow
Loading symbol: GetDesktopWindow
Loading library: advapi32.dll
Loading symbol: RegOpenKeyExA
Loading symbol: RegCloseKey
Loading symbol: RegQueryValueExA
Attempting to initialize WASAPI backend...
Loading library: kernel32.dll
Loading symbol: VerifyVersionInfoW
Loading symbol: VerSetConditionMask
Loading library: avrt.dll
Loading symbol: AvSetMmThreadCharacteristicsW
Loading symbol: AvRevertMmThreadCharacteristics
System Architecture:
Endian: LE
SSE2: YES
AVX2: NO
NEON: NO
[WASAPI] Trying IAudioClient3_InitializeSharedAudioStream(actualPeriodInFrames=441)
defaultPeriodInFrames=441
fundamentalPeriodInFrames=441
minPeriodInFrames=441
maxPeriodInFrames=441
[WASAPI] Not using IAudioClient3 because the desired period size is larger than the maximum supported by IAudioClient3.
[WASAPI]
Icom IC-705 (USB Audio CODEC ) (Capture)
Format: 32-bit IEEE Floating Point -> 16-bit Signed Integer
Channels: 1 -> 1
Sample Rate: 44100 -> 44100
Buffer Size: 4410*3 (13230)
Conversion:
Pre Format Conversion: NO
Post Format Conversion: YES
Channel Routing: NO
Resampling: NO
Passthrough: NO
Channel Map In: {CHANNEL_MONO}
Channel Map Out: {CHANNEL_MONO}
[WASAPI] Data discontinuity (possible overrun). Attempting recovery. mappedBufferCaptureCap=441
2024/02/09 21:34:45 Received command: stop
2024/02/09 21:34:45 Cleaning up after closing connection
2024/02/09 21:34:45 Client closed the connection
Stopping monitoring...panic: send on closed channel
goroutine 39 [running]:
main.handleConnection.func2()
/home/runner/work/varanny/varanny/varanny.go:286 +0x20e
created by main.handleConnection in goroutine 11
/home/runner/work/varanny/varanny/varanny.go:276 +0x20d
Hi,
When leaving the Audio Input Monitor on RadioMail, varanny often quit unexpectedly. Here is text from the command line.. Relevant lines are at the end.
C:\Users\va2ss>varanny.exe 2024/02/09 21:34:09 Loading configuration from C:\Users\va2ss\varanny.json 2024/02/09 21:34:09 Starting varanny 0.2.12 2024/02/09 21:34:09 Advertising DNS-SD services 2024/02/09 21:34:09 Multicast network interfaces: [Hotspot Wi-Fi] 2024/02/09 21:34:09 Listening on [::]:8273 2024/02/09 21:34:09 Waiting for connections... 2024/02/09 21:34:21 New connection 2024/02/09 21:34:21 Received command: monitor IC705HF 2024/02/09 21:34:21 Monitoring audio device 'Icom IC-705 (USB Audio CODEC )' found in C:\VARA_HF\VARA.ini Loading library: ole32.dll Loading symbol: CoInitializeEx Loading symbol: CoUninitialize Loading symbol: CoCreateInstance Loading symbol: CoTaskMemFree Loading symbol: PropVariantClear Loading symbol: StringFromGUID2 Loading library: user32.dll Loading symbol: GetForegroundWindow Loading symbol: GetDesktopWindow Loading library: advapi32.dll Loading symbol: RegOpenKeyExA Loading symbol: RegCloseKey Loading symbol: RegQueryValueExA Attempting to initialize WASAPI backend... Loading library: kernel32.dll Loading symbol: VerifyVersionInfoW Loading symbol: VerSetConditionMask Loading library: avrt.dll Loading symbol: AvSetMmThreadCharacteristicsW Loading symbol: AvRevertMmThreadCharacteristics System Architecture: Endian: LE SSE2: YES AVX2: NO NEON: NO 2024/02/09 21:34:21 Found capture audio devices: 2 2024/02/09 21:34:21 Device name (found match): Icom IC-705 (USB Audio CODEC ) (similarity: 1 threshold: 1 ) Loading library: ole32.dll Loading symbol: CoInitializeEx Loading symbol: CoUninitialize Loading symbol: CoCreateInstance Loading symbol: CoTaskMemFree Loading symbol: PropVariantClear Loading symbol: StringFromGUID2 Loading library: user32.dll Loading symbol: GetForegroundWindow Loading symbol: GetDesktopWindow Loading library: advapi32.dll Loading symbol: RegOpenKeyExA Loading symbol: RegCloseKey Loading symbol: RegQueryValueExA Attempting to initialize WASAPI backend... Loading library: kernel32.dll Loading symbol: VerifyVersionInfoW Loading symbol: VerSetConditionMask Loading library: avrt.dll Loading symbol: AvSetMmThreadCharacteristicsW Loading symbol: AvRevertMmThreadCharacteristics System Architecture: Endian: LE SSE2: YES AVX2: NO NEON: NO [WASAPI] Trying IAudioClient3_InitializeSharedAudioStream(actualPeriodInFrames=441) defaultPeriodInFrames=441 fundamentalPeriodInFrames=441 minPeriodInFrames=441 maxPeriodInFrames=441 [WASAPI] Not using IAudioClient3 because the desired period size is larger than the maximum supported by IAudioClient3. [WASAPI] Icom IC-705 (USB Audio CODEC ) (Capture) Format: 32-bit IEEE Floating Point -> 16-bit Signed Integer Channels: 1 -> 1 Sample Rate: 44100 -> 44100 Buffer Size: 4410*3 (13230) Conversion: Pre Format Conversion: NO Post Format Conversion: YES Channel Routing: NO Resampling: NO Passthrough: NO Channel Map In: {CHANNEL_MONO} Channel Map Out: {CHANNEL_MONO} [WASAPI] Data discontinuity (possible overrun). Attempting recovery. mappedBufferCaptureCap=441 2024/02/09 21:34:45 Received command: stop 2024/02/09 21:34:45 Cleaning up after closing connection 2024/02/09 21:34:45 Client closed the connection Stopping monitoring...panic: send on closed channel
goroutine 39 [running]: main.handleConnection.func2() /home/runner/work/varanny/varanny/varanny.go:286 +0x20e created by main.handleConnection in goroutine 11 /home/runner/work/varanny/varanny/varanny.go:276 +0x20d
C:\Users\va2ss>
Thanks for your help.