TheLogicMaster / SDH-AnimationChanger

A Steam Deck Homebrew plugin for changing and randomizing boot/suspend animations
Other
68 stars 10 forks source link

Feature Request: add an option to toggle videos to play muted (sound off) #33

Open starmandeluxe opened 1 year ago

starmandeluxe commented 1 year ago

Request to add an option to disable audio for animations when they play, because audio controls do not work on the Steam Deck during boot sequence.

TheLogicMaster commented 1 year ago

This should be possible, since the boot animations should play after the plugin is actually loaded, so muting a fixed amount of time after startup could work. Not sure about the API to actually interact with the device volume controls, though, or how to query the animation length.

starmandeluxe commented 1 year ago

Or, instead of muting the system volume, isn't it possible to disable the audio stream of the animation asset itself?

TheLogicMaster commented 1 year ago

The current system just symlinks the video to the animation override directory without changing anything. I'm not sure how difficult disabling audio in webm files is, but it would probably require duplicating the videos just to change the volume levels, or patching them in-place, which isn't ideal. Probably would be easier just to make silent variants.