Content-Length: 14419 | pFad | http://itch.io/post/161763

Post by kometbomb in [SOLVED] Crash on startup if no audio devices connected - itch.io
Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

http://kometbomb.net/x/error.png

This just pops up when I run the game. That's divide by zero most likely, maybe you divide by the sample rate or so because it definitely happens when I don't have my 'phones plugged in.

On my computer, for some reason if I don't plug in any audio devices, any audio code basically refuses to initialize. Not sure about the libraries you use, but I was able to bypass this in my own code by simply checking if audio was init properly and if not, just skip everything related to audio. Maybe you could simulate it by just not initializing the audio device.









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://itch.io/post/161763

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy