fix(music): Fix the audio volume from music stream not detecting the desired volume

Apparently, Yonokid used default value for a parameter in
play_music_stream in file `libs/audio.py` and forgot to pass the
supposed argument when using the function.
This commit will completely kill that default value and pass the correct
parameter's value (which is `music`).

Please don't use default parameter anymore, Yono.
This commit is contained in:
QBaraki
2025-10-24 15:12:29 +07:00
parent ed59a64841
commit 52201a39fa
3 changed files with 3 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ class GameScreen:
def start_song(self, current_time):
if (self.current_ms >= self.tja.metadata.offset*1000 + self.start_delay - global_data.config["general"]["judge_offset"]) and not self.song_started:
if self.song_music is not None:
audio.play_music_stream(self.song_music)
audio.play_music_stream(self.song_music, 'music')
print(f"Song started at {self.current_ms}")
if self.movie is not None:
self.movie.start(current_time)