I am building an iOS app, that creates MANY instances of AVAudioUnitSampler, all which all load the same sound bank.
Right now it is crashing when it tries to load the sound bank into a second instance.
When it loads the Sample Bank the second time, my app throws a error -42 or kAudio_TooManyFilesOpenError].
Is there any way one can find the limit to how many files CoreAudio can have open [so I can work around the limit] and/or is there anyway to change that limit?
Since, I have a feeling the limit is hard an fast, I am open to suggestions if anyone knows a way to share a Sample Bank between mutliple instances of AVAudioUnitSampler.
Thanks in advance.
Stan