Why to run an AudioSourceSDFAT array is very slow? #2127
-
Hi @pschatzmann I´m running an array of AudioSourceSDFat with loop but is very slow. Is possible to optimize with any solution? Piece of code.
|
Beta Was this translation helpful? Give feedback.
Answered by
pschatzmann
Aug 8, 2025
Replies: 1 comment
-
The AudioSourceSDFAT implements an optimized version of sequentially processing a directory recursively. Implement your own logic (using the SDFAT API) when you want to process only a single directory... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pschatzmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The AudioSourceSDFAT implements an optimized version of sequentially processing a directory recursively.
source.size() might be very slow, so try to avoid it.
Implement your own logic (using the SDFAT API) when you want to process only a single directory...