4
« on: June 07, 2017, 11:35:59 am »
I have the same issue as this. It occurs on my Win10 Dell XPS 9560 (All drivers up to date @ time of post).
When I run the same game on another Win10 Desktop my wife owns the issue does not occur.
This seems to indicate the issue is with a driver/audio card root cause and/or how the underlying openal code interfaces with it.
To cover a few things I've done on my XPS (still get a console warning and crash with all the following cases):
1. Static and Dynamic setups tested
2. X86 and X64 builds tested
3. sf::Music objects created and used in the same class(different functions)
3. sf::Music objects created and used in the same code block
4. Filename and SoundBuffer patterns used
The issue is best identified by the console output warning at runtime:
AL lib: (EE) MMDevApiMsgProc: Unexpected message: 49403
This warning occurs when a sf::Music object is created. The object can be used as expected (played, stopped etc.) until the crash occurs (3-5mins).
I've not yet used sf::Sound but will update if I get the same issues when I do.