-
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
# for free
to join this conversation on GitHub.
Already have an account?
# 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_track
andTrackHandle::set_volume
.