menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표

base on Unity 5.6.6f2 , wwise 2017.2.6

AkSoundEngine.PrepareEvent( AkPreparationType.Preparation_Load, eventNameArray, numOfEvents ); < - - - work , ok

AkSoundEngine.PrepareEvent( AkPreparationType.Preparation_LoadAndDecode, eventNameArray, numOfEvents ); < - - - return Ak_Success , but still log error "Wwise: Media was not loaded for this source"

my question is " is there anyway to load single decoded media file instead of loading whole soundBank then decode it ?"

 

the description of prepareEvent and PreparationType :

https://www.audiokinetic.com/library/2017.2.9_6726/?source=SDK&id=namespace_a_k_1_1_sound_engine_a21e0dbb1f9aebfc22fdd88634dc1067b.html

https://www.audiokinetic.com/library/2017.2.9_6726/?source=SDK&id=namespace_a_k_1_1_sound_engine_a9acdc9745d7277f83131cdfff9b482ad.html#a9acdc9745d7277f83131cdfff9b482ad

 

General Discussion Yu-Wei Su (540 포인트) 로 부터

1 답변

0 투표
I found another way to achieve the same goal.

Use Conversion Settings to set the target media files uncompressed.

Use prepareEvent method to load uncompressed media file.

So we don't have to load a soundBank contains compressed media then try to decode the media files on loadinig. The format is already uncompressed when packaged into the soundBank.

By the way , if we want use the advantage of prepareEvent() to load single media file instead of all media files in a soundBanks , there are three options inside the soundBankEditor window , { Events , Structures , Media } , do not check the Media , leave the box empty.
Yu-Wei Su (540 포인트) 로 부터
수정 Yu-Wei Su 로 부터
...