I’m using HaxeFlixel in Windows, and keep getting the following error when I try to play a sound in my game…
AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
The exact same code works fine in Android and on my Windows 7 laptop, however on my Windows 7 desktop it randomly (and more frequently than not) crashes the game with the above error.
Since HaxeFlixel doesn’t directly deal with OpenAL, it’s been suggested I raise this problem over here.
A bit of Googling doesn’t turn up much apart from a few people hinting at maybe it relates to trying to open an audio device that isn’t configured correctly or not active. My PC has an onboard sound device and then also one built into the HDMI output of the graphics card.
Sound is working fine on my PC in all other programs.
Can anyone help?