[openal] MMDevApiOpenPlayback: Device init failed: 0x80004005

Pokechu22 pokechu022+openal-list at gmail.com
Sun May 14 22:59:05 EDT 2017


Ah, thanks!

It looks like LWJGL2 (which is outdated, but what MC is currently
stuck with) still uses OpenAL Soft 1.15.1
(https://github.com/LWJGL/lwjgl/issues/117).  Updating the OpenAL DLLs
should hopefully fix it - I'll test.

On Sun, May 14, 2017 at 7:17 PM, Chris Robinson <chris.kcat at gmail.com> wrote:
> On 05/14/2017 06:53 PM, Pokechu22 wrote:
>>
>> 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):
>>
>> ...
>>
>> What causes this?  Is it a known bug?
>
>
> Hi.
>
> As far as I can see, this is an old race condition in the mmdevapi backend,
> where it started up the background message-handling thread and tried to post
> a message to the background thread before its message queue was initialized.
> This was fixed with commit 29e0af5ef052a3602f9b7935d6002c6d2ae5e8cb,
> included in OpenAL Soft's v1.16 release.
> _______________________________________________
> openal mailing list
> openal at openal.org
> http://openal.org/mailman/listinfo/openal


More information about the openal mailing list