Get Fmod Studio tracks order c++

I could get each tracks rms level using ChannelGroup.

But I can’t get Fmod Studio Tracks order.
How can I get the order of Studio?

Thanks in advance
using UE4.25
Here is source code.

.H
TArrayFMOD::ChannelGroup* ChannelGroupArray;

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "FMOD", meta = (AllowPrivateAccess = "true"))
TArray<class UFMODEvent*>	EventArray;

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "FMOD", meta = (AllowPrivateAccess = "true"))
TArray<FString>				EventNameArray;


UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "FMOD", meta = (AllowPrivateAccess = "true"))
TArray<float>	TrackLeftRMSVolumeArray;

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "FMOD", meta = (AllowPrivateAccess = "true"))
TArray<float>	TrackRightRMSVolumeArray;

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "FMOD", meta = (AllowPrivateAccess = "true"))
TArray<FString>	TrackName;

.CPP
int ChannelCount = 0;

pChannelGroup->getNumGroups(&ChannelGroupCount);

for (int i = 0; i < ChannelGroupCount; ++i)
{
	FMOD::ChannelGroup* SubGroup = nullptr;
	pChannelGroup->getGroup(i, &SubGroup);

	char	ChannelName[128] = {};
	SubGroup->getName(ChannelName, 128);

	FString	NameStr = ChannelName;

	TrackName.Add(NameStr);

	//GEngine->AddOnScreenDebugMessage(-1, 100.f, FColor::Red, NameStr);

	ChannelGroupArray.Add(SubGroup);

	TrackLeftRMSVolumeArray.Add(0.f);
	TrackRightRMSVolumeArray.Add(0.f);

	FMOD::DSP* pSubDSP = nullptr;

	SubGroup->getDSP(0, &pSubDSP);

	DSPArray.Add(pSubDSP);

	ErrCheck(pSubDSP->setMeteringEnabled(true, true), TEXT("setMeteringEnabled"));
}


unreal

Unfortunately the track order is immaterial to the API so there is no easy way to get the order of tracks as they appear in FMOD Studio. If you let me know what the high level concept is that you’re trying to achieve here / why you need the track order, I can help come up with a workaround?

I just want to check which instrument(tracks in studio) is getting metering.
I want to use each track’s metering data but When I add tracks in studio, order of Array(in UE) is changing.
Or can i get the name of tracks?

Thanks for feedback.

After digging around through our API, I haven’t found any easy way to get the name of a track- ChannelGroup::getName() doesn’t return the name of the track, and as you have found the track order can change any time and has no relationship to the track order in Studio.
At this time I don’t think there is any direct way of achieving what you are after. That said, I can see that individual track metering info isn’t useful by itself so there really should be some kind of identifier letting you know where it came from; I will add it as a suggestion and hopefully get it added in a future release.

I got it. I will be helpful if you add in future release.
Thanks