Dear AudioKinetic,
I'm encountering the following challenge when trying to access music segment information such as info.iCurrentPosition. when I call:
public AkSegmentInfo infoSegment;
private uint iD;
void Start (){
iD = AkSoundEngine.PostEvent (eventName, this.gameObject, (uint)AkCallbackType.AK_EnableGetMusicPlayPosition , MusicCallBack, this);
}
void Update (){
AKRESULT test = AkSoundEngine.GetPlayingSegmentInfo (iD, infoSegment);
print (test);
}
I get the result: AK_NotImplemented. This in turn means I get null when trying to acces infoSegment and can't call infoSegment.iCurrentPosition.
What could this mean for this specific method? I looked for examples of other methods returning this result but I can't find any similarities. Am I missing something important?
Thanks!