Audio fixes + bug documentation

This commit is contained in:
Sebastian Lohff 2017-02-09 16:38:08 +01:00
parent 56b84cf63b
commit e8062a920a
2 changed files with 8 additions and 1 deletions

View File

@ -159,4 +159,8 @@ Known Bugs
output on the console when exiting the game. output on the console when exiting the game.
* Stylesheets for buttons/labels could be more centrally managed and more * Stylesheets for buttons/labels could be more centrally managed and more
consistent. consistent.
* The audio sounds a bit glitchy on some pulseaudio systems. Setting
`flat-volume = no` in `/etc/pulse/daemon.conf` fixes this for some users.
* The volume for the first played song is at 100%, no matter what. This is
currently circumvented by playing a media song and immediately stopping it
at the beginning of the game.

View File

@ -76,6 +76,9 @@ if __name__ == '__main__':
if not MusicBox.add_music(name, path): if not MusicBox.add_music(name, path):
print("Error: Could not load music %s (file %s)" % (name, path), file=sys.stderr) print("Error: Could not load music %s (file %s)" % (name, path), file=sys.stderr)
sys.exit(1) sys.exit(1)
# BUG workaround: phonon is on 100% volume for some machines. try playing one song and immediately stopping it
MusicBox.play_music(MusicBox.media.keys()[0])
MusicBox.stop_music()
# create and start input threads # create and start input threads
inputs = [] inputs = []