uowuo/abaddon

"The audio engine could not be initialized" error despite having audio drivers installed

Fukumeru opened this issue · 9 comments

I've tried running abaddon's latest release, but it can't get past startup while getting "The audio engine could not be initialized" error.
This issue seems to be related to #203, except I have correct audio drivers installed, and these drivers work in other apps.
Here's what is printed in console:

[2023-10-20 10:45:14.692] [audio] [info] Audio backend: WASAPI
[2023-10-20 10:45:14.789] [audio] [info] using Headphones (Realtek(R) Audio) as playback device
[2023-10-20 10:45:14.801] [audio] [error] failed to initialize capture device
ouwou commented

does it work on latest build from master? i should make a new release lol

Using build-windows-msys2-MinSizeRel, 04-12-2023. Having same issue.

Using build-windows-msys2-MinSizeRel, 04-12-2023. Having same issue.

what do you see in the console?

[2023-12-16 07:31:32.837] [audio] [info] Audio backend: WASAPI
[2023-12-16 07:31:33.214] [audio] [info] using Speakers (Realtek High Definition Audio) as playback device
[2023-12-16 07:31:33.247] [audio] [error] failed to initialize capture device

and im correct in assuming you do have a functioning input device? ive just pushed some stuff to master that should make the logging a bit more helpful, so itd be useful if you could grab the latest master build and run set SPDLOG_LEVEL=miniaudio=trace,audio=trace and abaddon.exe via command line, then send the output here

audio engine initialization failure is also non-fatal now so you can at least hear/use text even if your input device isnt working (or perhaps try picking another one via the GUI which should reinitialize it)

set SPDLOG_LEVEL=miniaudio=trace,audio=trace

Is this a command line option or something that needs to be added somewhere while building the binaries?

its an environment variable not quite a command line option, but if you run that line in the command prompt and then run abaddon also via command prompt it will give more verbose logs

and im correct in assuming you do have a functioning input device? ive just pushed some stuff to master that should make the logging a bit more helpful, so itd be useful if you could grab the latest master build and run set SPDLOG_LEVEL=miniaudio=trace,audio=trace and abaddon.exe via command line, then send the output here

audio engine initialization failure is also non-fatal now so you can at least hear/use text even if your input device isnt working (or perhaps try picking another one via the GUI which should reinitialize it)

i do not have a functioning mic on this computer but i would still like to use abaddon, for eg text messing (i don't use discord for voice). is this not possible?

i do not have a functioning mic on this computer but i would still like to use abaddon, for eg text messing (i don't use discord for voice). is this not possible?

it should work fine without a microphone. do you get any issues when using the latest master build?