Meridian: New World

Meridian: New World

View Stats:
Hey Darkmaster, did you ever get around the XACT Audio Initialization issue?
This same crap happens to some small % of my customers for Dungeonmans, and I've seen it all over the internet with XNA games. Terraria, Magica, Gnomoria, and your cool game too.

The constructor for WaveBank ends up calling this:

Microsoft.Xna.Framework.Audio.UnsafeNativeMethods.AllocateArrayAndReadFile(String filename, Void** ppData, UInt32* pdwBufferSize)

And it throws a mysterious exception which XNA then just falls over and dies from. Have you guys figured out a way around this outside of just restarting and trying again? Unfortunately, that seems to work, but it's a lousy customer experience.

Google this here to see what I mean "allocatearrayandreadfile xna"

Thanks!
< >
Showing 1-3 of 3 comments
Some1xx Apr 22, 2015 @ 7:30pm 
Can't speak for him but this is his support for audio issues:

* Go to your speaker properties ( Control Panel > Sound > Right-click your speakers and click 'Properties') and make sure that any enhancements to your sound card are turned off. This can be different for each sound card, eg. for sound blaster cards there would be a sound blaster tab here, with a ''Disable sound blaster enchancements'' option.

* If you have an 5.1 surround setup, try switching to stereo. This could also solve the issue.

* Try changing the default sound device to another associated with your sound card. You can do this by right clicking the volume icon on the taskbar > Playback Devices, and right clicking ''Digital Audio Interface'' or ''Digital Output'' to set as the default instead of ''Speakers''


Probably doesn't actually answer your question but hope that's something int he meantime until DarkMaster is online to answer your question properly.
@Some1xx Good on you for helping your community out, I've seen you post that a few times trying to help people.

The reality is, it's just XNA having some weird failure state that isn't consistent. I figured I'd start reaching out to other XNA devs who were having the same problem and seeing if they've found a solution.
Dark Master  [developer] Apr 22, 2015 @ 10:27pm 
Hi MadjackMcMad,

Unfortunately I couldn't fix this. I've done all I could, looked it up on google, searched for other developers, to no avail. It's an issue with XNA and as XNA is not supported anymore, this won't be fixed.

For your next project, I recommend switching to another engine (eg. Unity). I did that and it worked out quite well for me.
< >
Showing 1-3 of 3 comments
Per page: 1530 50