Skip to content

How to use the command system #108

Answered by tesselode
NotAJocke asked this question in Q&A
Discussion options

You must be logged in to vote

You can wrap handles in Arc<Mutex<_>> if you need to share them across threads. You don't necessarily need a Parameter; you can change the volume of the main mixer track (which will affect the volume of all audio) using AudioManager::main_track and TrackHandle::set_volume.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NotAJocke
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants