Closed AlienXAXS closed 2 months ago
Thanks for the report, I'm guessing that happened because your audio wasn't working, so it was unable to create the channel to playback causing the panic.
I'll look into adding some extra checks to fail more gracefully.
Digging deeper into the CPAL code, it looks like the following is happening:
CPAL: Hi Windows, what's your Default audio format? Windows: Use format X CPAL: Windows, do you support format X? Windows: No.
Which unfortunately is a pretty critical break in Windows audio.. I've added some attempts to catch PANICs come from CPAL during device setup and downgrade them to Err
s which should hopefully mitigate this (the lack of a trace makes it difficult to know which part of my code is triggering it), but that's all I can really do currently, it's such an odd edge case.
Digging deeper into the CPAL code, it looks like the following is happening:
CPAL: Hi Windows, what's your Default audio format? Windows: Use format X CPAL: Windows, do you support format X? Windows: No.
Which unfortunately is a pretty critical break in Windows audio.. I've added some attempts to catch PANICs come from CPAL during device setup and downgrade them to
Err
s which should hopefully mitigate this (the lack of a trace makes it difficult to know which part of my code is triggering it), but that's all I can really do currently, it's such an odd edge case.
I don't see any pushes for this fix. Where can I access the change?
Digging deeper into the CPAL code, it looks like the following is happening: CPAL: Hi Windows, what's your Default audio format? Windows: Use format X CPAL: Windows, do you support format X? Windows: No. Which unfortunately is a pretty critical break in Windows audio.. I've added some attempts to catch PANICs come from CPAL during device setup and downgrade them to
Err
s which should hopefully mitigate this (the lack of a trace makes it difficult to know which part of my code is triggering it), but that's all I can really do currently, it's such an odd edge case.I don't see any pushes for this fix. Where can I access the change?
Update: I got a different issue entirely. I attached the debug-level log below. goxlr-daemon.log
I don't see any pushes for this fix. Where can I access the change?
The mitigation (specifically not a fix) was added in 7ba9e16 and released with 1.0.6
Update: I got a different issue entirely. I attached the debug-level log below.
Looking at the log, the issue seems to be the same (except occurring with the recording channel), Windows is reporting a default format then isn't able to open that same format.
Your best bet in this scenario is to re-plug your GoXLR and try to reset the driver, as something's gone wrong with the audio handling that cannot be fixed by the Utility.
Gonna close this as 'cant fix', the utility will attempt a recovery if the audio subsystem goes down, but obviously can't correct the problem with Windows.
So it just…fixed itself Somehow I think 1.1.1 fixed the issue, idk
Version: 1.0.4
I just booted up my computer and found that I had no audio which I thought was weird... So I pressed a sampler button as a quick-fire way to test audio and the sampler light did not light up.
Launching the Go XLR Utility caused the "Please Wait" to be there forever, it seems the deamon process has become stuck.
However I found this in the logs:
Since restarting the application (forcefully in task manager) all is well again. Not too sure what you can do about this, but thought to submit a bug report in case this error event isnt caught and maybe could be caught in the future to ensure the daemon process doesn't stall.