Should I limit the number of QAudioOutput instances in my app?
Unsolved
General and Desktop
-
What is the maximum number of sounds I can play concurrently in my app with a code like this (as an example)?
std::vector<QFile> files; //.. std::vector<QAudioOutput> audioOutputs; //.. for (int i = 0; i < files.size(); ++i) { audioOutputs[i].start(&file[i]); }
Should I limit the number of
QAudioOutput
instances? Does it make a sense to create a pool of them to share unused instances?Do
Android
oriOS
have some limitations?