TAAE1: createChannelGroup returning NULL ?
I am using TAAE1.
My app is sometimes crashing when first trying to set the volume of a group (AEAudioController setVolume:forChannelGroup:)
It seems that the group is NULL or its parent is not found and it crashes with this assert:
NSAssert(parentGroup != NULL, @Channel not found);
A few considerations that can help to spot potential solutions:
-I am starting the AEAudioController (calling start:), after creating all the groups and channels. But this seems ok to me...
-The AEAudioController is NOT initialised in the AppDelegate like in the examples but later, could it be that ?
-I suspect the group to be NULL because this is failing:
AudioUnitSetProperty(kAudioUnitProperty_ElementCount) in: createChannelGroupWithinChannelGroup
but the cause may be from something else.
-Could it be a low RAM issue ?
I don't manage to reproduce it locally (so I can't debug easily), and most of the time everything goes fine. But it happens to many users and I have their crash logs.
Any idea or things to log to understand better ?