Sound of maze generating not working when i try to run it

0

I am trying to use sound of maze generation(https://github.com/odedw/sound-of-maze-generation) but whenever i try to run it i get an error.

It always says it exits with code (0x800703e9) or stack overflow or a driver is not installed and no matter how hard i try, i cannot get it to work.

I cant replicate the errors, since i have tried to edit it with absolutely no c# programming knowledge and i forgot what i edited.

Sorry for making it so short but it is my first post so i don't know how to do it.

c#
stack-overflow
maze
asked on Stack Overflow May 13, 2020 by BOI • edited May 13, 2020 by ADyson

1 Answer

1

I gave it a go, and it also failed on my machine. It turns out that the author was relying some specific audio hardware. See line 85 in the file ViewModel.cs:

_asio = new AsioOut("Focusrite USB ASIO");

However, there is also a WaveOut mechanism (in the same file), currently commented out.

When I "commented away" all _asio references and "revived" the waveOut mechanism it did start successfully (and produced sound) (i.e. noise ;-).

(You only need to make changes to this particular file.)

answered on Stack Overflow May 13, 2020 by Mattias Larsson

User contributions licensed under CC BY-SA 3.0