Audio fixes + bug documentation
This commit is contained in:
parent
56b84cf63b
commit
e8062a920a
|
@ -159,4 +159,8 @@ Known Bugs
|
|||
output on the console when exiting the game.
|
||||
* Stylesheets for buttons/labels could be more centrally managed and more
|
||||
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.
|
||||
|
|
|
@ -76,6 +76,9 @@ if __name__ == '__main__':
|
|||
if not MusicBox.add_music(name, path):
|
||||
print("Error: Could not load music %s (file %s)" % (name, path), file=sys.stderr)
|
||||
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
|
||||
inputs = []
|
||||
|
|
Loading…
Reference in New Issue