-
|
I've read the documentation, I don't understand what to do with a Parameter. I'm trying to update the manager's volume from another thread Thanks in advance |
Beta Was this translation helpful? Give feedback.
Answered by
tesselode
Nov 29, 2024
Replies: 1 comment
-
|
You can wrap handles in |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NotAJocke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can wrap handles in
Arc<Mutex<_>>if you need to share them across threads. You don't necessarily need aParameter; you can change the volume of the main mixer track (which will affect the volume of all audio) usingAudioManager::main_trackandTrackHandle::set_volume.