When I make a call to waveOutOpen, it returns to me an unknown error (i.e., one that does not correspond to the defined errors) IF the system sounds option is enabled in Settings.
I've done some research and discovered that this is indeed a known issue. However, it is a rather frustrating one.
Does anyone know of a way to resolve this? Obviously I'd like to know if there is a way to avoid it altogether, but my other thought is to disable that system setting at the start of my game and reset it to it's initial state on close.
I couldn't find a programmatic way to do this, but I could have just missed it.
Can anyone shed any light on this in any way? It seems lame to simply display a message when this error occurs saying that you as the user may have to disable the option before running the game, and certainly most if not all games I've seen do not exhibit this behavior, but it IS just a standard Win32 call, and my syntax appears correct (certainly the sound library works if the option is not checked), but it is annoying me.
Thanks all!
I've done some research and discovered that this is indeed a known issue. However, it is a rather frustrating one.
Does anyone know of a way to resolve this? Obviously I'd like to know if there is a way to avoid it altogether, but my other thought is to disable that system setting at the start of my game and reset it to it's initial state on close.
I couldn't find a programmatic way to do this, but I could have just missed it.
Can anyone shed any light on this in any way? It seems lame to simply display a message when this error occurs saying that you as the user may have to disable the option before running the game, and certainly most if not all games I've seen do not exhibit this behavior, but it IS just a standard Win32 call, and my syntax appears correct (certainly the sound library works if the option is not checked), but it is annoying me.
Thanks all!