menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

+1 支持
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!
Nick v. (110 ポイント) General Discussion

Please sign-in or register to answer this question.

...