Trilarion / imperialism-remake

Imperialism remake
https://remake.twelvepm.de/
GNU General Public License v3.0
53 stars 19 forks source link

No audio is playing #37

Open amtyurin opened 3 years ago

amtyurin commented 3 years ago

No audio music is played on Mac. Setting/reseting audio in settings does not help. Can it be the problem with OGG audio files?

Trilarion commented 3 years ago

The OGG audio files worked before and haven't been changed. It's more likely that something in the program and within Qt changed and is responsible for the problem. I also don't hear anything on Windows, so I guess it's not Mac specific.

I run examples/client/audio_examples.py and additionally listed to the error

audio.soundtrack_player.error.connect(print)

which gave 1 as output, which means ResourceError, i.e. the resource could not be resolved. Most probably it's something with Qt that changed and made it not recognizing local URLs to files anymore.

Unfortunately I cannot resolve the error right now.