Skip to content

Player crash: Audio channel is unknown. #5

@Cofffelo

Description

@Cofffelo

Basically, player would crash without registration of music channel.

Steps to reproduce the behavior:

  1. go to music room
  2. exit from it
  3. change your script
  4. reload
  5. go to music room
  6. see error

player should not give any error,
https://imgur.com/yqUrG6F.png
the topic is translated like: an exception occurred.

OS: Windows 10, PC.

Additional context
it fixable with

renpy.music.register_channel("music_room", mixer="sound", loop=None, stop_on_mute=True, tight=False, file_prefix='', file_suffix='', buffer_queue=True)

added to music_screen.rpy on a lines between init python and if renpy,variant (50-51 lines for me)
but if you do that, the volumt bar will not work due to mixer being not connected to it i conclude. and i do not know how to fix this one, i am a newbie ueu)b

so please you do! thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions