[openal] MMDevApiOpenPlayback: Device init failed: 0x80004005

Pokechu22 pokechu022+openal-list at gmail.com
Sun May 14 21:53:06 EDT 2017


Hello!

I do some development with Minecraft, and occasionally, the sound
engine for the game will fail to start (see
https://bugs.mojang.com/browse/MC-9974).  I've traced this down to an
OpenAL issue, where very rarely OpenAL will not start with the given
error (rarely means between 1 in 10 times and 1 in 200 times,
depending on the mood).

Here's the full output from OpenAL when it fails to start (with
ALSOFT_LOGLEVEL set to 3):

AL lib: (II) alc_initconfig: Supported backends: mmdevapi, dsound,
winmm, null, wave
AL lib: (II) GetConfigValue: Key general:disable-cpu-exts not found
AL lib: (II) FillCPUCaps: Got caps: SSE
AL lib: (II) GetConfigValue: Key general:rt-prio not found
AL lib: (II) GetConfigValue: Key general:resampler not found
AL lib: (II) GetConfigValue: Key general:trap-al-error not found
AL lib: (II) GetConfigValue: Key general:trap-alc-error not found
AL lib: (II) GetConfigValue: Key reverb:boost not found
AL lib: (II) GetConfigValue: Key reverb:emulate-eax not found
AL lib: (II) GetConfigValue: Key general:drivers not found
AL lib: (II) MMDevApiMsgProc: Starting message thread
AL lib: (II) alc_initconfig: Initialized backend "mmdevapi"
AL lib: (II) alc_initconfig: Added "mmdevapi" for playback
AL lib: (II) alc_initconfig: Initialized backend "dsound"
AL lib: (II) alc_initconfig: Added "dsound" for capture
AL lib: (II) GetConfigValue: Key general:excludefx not found
AL lib: (II) GetConfigValue: Key general:default-reverb not found
AL lib: (II) GetConfigValue: Key general:channels not found
AL lib: (II) GetConfigValue: Key general:sample-type not found
AL lib: (II) GetConfigValue: Key general:format not found
AL lib: (II) GetConfigValue: Key general:frequency not found
AL lib: (II) GetConfigValue: Key general:periods not found
AL lib: (II) GetConfigValue: Key general:period_size not found
AL lib: (II) GetConfigValue: Key general:sources not found
AL lib: (II) GetConfigValue: Key general:slots not found
AL lib: (II) GetConfigValue: Key general:sends not found
AL lib: (II) GetConfigValue: Key general:cf_level not found
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (II) GetConfigValue: Key general:channels not found
AL lib: (II) GetConfigValue: Key general:sample-type not found
AL lib: (II) GetConfigValue: Key general:format not found
AL lib: (II) GetConfigValue: Key general:frequency not found
AL lib: (II) GetConfigValue: Key general:periods not found
AL lib: (II) GetConfigValue: Key general:period_size not found
AL lib: (II) GetConfigValue: Key general:sources not found
AL lib: (II) GetConfigValue: Key general:slots not found
AL lib: (II) GetConfigValue: Key general:sends not found
AL lib: (II) GetConfigValue: Key general:cf_level not found
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
AL lib: (II) MMDevApiMsgProc: Starting message loop

What causes this?  Is it a known bug?

--Poke


More information about the openal mailing list