36 sound inits at launch time #1727
Replies: 3 comments 10 replies
-
The the first time I'm wondering: Should this rather be an Issue to track it than a Discussion? :) |
Beta Was this translation helpful? Give feedback.
-
How do you do the supported buffer size requests with only 1 call to Init? |
Beta Was this translation helpful? Give feedback.
-
Idea: we don't need to run the capability checks every time. We can save results from the first check round and load them at launch. If soundcard is the same, then no need to rerun the checks. So 36 sound inits down to 1 only. What do you think? |
Beta Was this translation helpful? Give feedback.
-
While investigating iOS (#1512) slow launch time, I and found that Client.init() is called 9 times at launch, each Client.init() calls 4 Sound.init(), which makes 36 Sound inits at launch time.
For iOS, one init is enough, so I made a commit for iOS (in #1512) to do just that. We might need to improve for other OSes so that Jamulus launches faster.
Beta Was this translation helpful? Give feedback.
All reactions