커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

0 투표
Dear Audiokinetic gurus,

I had my first try with the plugin dev for wwise using the wp.py template. I need to develop a versatile multichannel panner as mixer plugin to be used with the ASIO OUTPUT plugin. As a first step I would like to reproduce the CHANNEL ROUTER plugin.

For now now I am totally stuck with the parameter settings. I understood there are two "levels" : the "properties" defined to be used at the "Master-Mixer Hierarchy" level and the "attachable properties" defined to be used at the "Actor-Mixer hierarchy" level for each containter routed to the master or a sub.

So I define one "Property" and one "Attachable" in the XML. I also modified the two struct/classes "projetnameFXParams.cpp/.h" and "projectnameFXAttachmentParams.cpp/.h" to process to paramaters update with the "SetParam(...)" in each of them.

I log in the console when using my plugin, the two "SetParam(...)" methods are called and my parameters are updated in both FXParams and FXAttachmentParams struct/classes. So I think the "Authoring part" is OK.

However, I do not understand the "Plugin part". By default, with the wp.py template, there is only one pointer "m_pParams" defined in the "projectnameFX.cpp/.h" class of type "projectnameFXParams *", which is cast and assigned in the "Init(...)" method with the "AK::IAkPluginParam* in_pParams" argument.
I can read the values in the "m_pParams" object. No problem...

For getting attachable properties I simply try to change the type of "m_pParams" to "projectnameAttachmentParams *" and apply the right cast it in the "Init(...)" method (I am a bit naive). But this is not working. In the "ConsumeInput(...) method, the value of the parameter is always "0", meaning : it is not updated... Maybe because the "AK::IAkPluginParam* in_pParams" argument is only for the "properties" not the "attachables".

I can't find any help in the doc explaining exactly how it works for attachables. Could you please tell me where I'am wrong and how to get updated values of my attachables in the ConsumeInput(...) methods ?

Thanks for all ! Your tool and skd are the best !!

Antoine
General Discussion Antoine G. (100 포인트) 로 부터

Please sign-in or register to answer this question.

...