コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持
Using Wwise 2021.1.6.7774:
Specifying an AK_SpeakerVolumeMatrix callback for AK::SoundEngine::PostEvent:

Changes to the volume matrix within the callback no longer seem to be applied immediately, as they were in Wwise 2019.2.13.7577

Using the following code in the callback to force the volumes to 0 result in a first-pass click using wwise 2021, but works as expected (immediate silence) using Wwise 2019:

if (in_eType & AK_SpeakerVolumeMatrix)...

    AkSpeakerVolumeMatrixCallbackInfo* pVolumeCallbackInfo = static_cast<AkSpeakerVolumeMatrixCallbackInfo*>(io_pCallbackInfo);

    for (AkUInt32 uChannelIn = 0; uChannelIn < pVolumeCallbackInfo->inputConfig.uNumChannels; uChannelIn++)
    {
        AK::SpeakerVolumes::VectorPtr SpeakerVolumesForChannelIn = AK::SpeakerVolumes::Matrix::GetChannel(pVolumeCallbackInfo->pVolumes, uChannelIn, pVolumeCallbackInfo->outputConfig.uNumChannels);

        for (AkUInt32 uChannelOut = 0; uChannelOut < pVolumeCallbackInfo->outputConfig.uNumChannels; uChannelOut++)
        {
            SpeakerVolumesForChannelIn[uChannelOut] = 0.0f;
        }
    }
Sserpenthraxus-fw (110 ポイント) General Discussion
If you believe this is a bug, I suggest you submit a Bug Report (https://www.audiokinetic.com/library/edge/?source=InstallGuide&id=reporting_bugs).
Note: the results above were from testing within the context of the latest Unreal integrations, corresponding to the Wwise versions mentioned.
Bug report submitted.
I'm happy to report this has been fixed in Wwise 2021.1.10:
WG-59298 Fixed: Changes to the volume matrix in the AK_SpeakerVolumeMatrix callback only take effect on the next audio frame.

Please sign-in or register to answer this question.

...