コミュニティQ&A

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

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

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

0 支持
The Wwise profiler is a very powerful tool. I've been looking for online materials related to automated profiling in Wwise but not turned up anything.

Say you have a build server that builds your game and it runs automated tests, playing through sections of the game.

Is there a way to have a process spin up an instance of Wwise, specify the target machine/config to connect to, and have it start profiling until that game instance terminates?
Gareth M. (140 ポイント) General Discussion

回答 1

0 支持
I've realised that the Wwise integration allows me to call AK::SoundEngine::StartProfilerCapture() and AK::SoundEngine::StopProfilerCapture() which starts the profiling session and saves it to a file with the .prof suffix. This file can then be manually loaded into the Wwise profiler.

https://www.audiokinetic.com/en/library/edge/?source=SDK&id=namespace_a_k_1_1_sound_engine_a55e99fc6cc6be2f93c4599e6e1bd1c0d.html

With a little work this gets me what I need. I can take the .prof output file path as a commandline input to my application so it can be invoked from a batch script.
Gareth M. (140 ポイント)
Another way would be to use WAAPI, which depending on your usage could be better. One example is if you would like to capture a profiling session as a file on the build machine from a game running over network, e.g., from an external device such as a mobile device, game console, etc.

You could launch the console version of Wwise in WAAPI server mode with "WwiseConsole.exe waapi-server <path to your project>". Using a WAMP client of your choice, you can then connect to the server and use the WAAPI function "ak.wwise.core.remote.connect" (ref: https://www.audiokinetic.com/en/library/edge/?source=SDK&id=ak_wwise_core_remote_connect.html). The profiler session will be saved in the project like it would when running the Wwise Authoring application.

To get started with WAAPI: https://www.audiokinetic.com/en/library/edge/?source=SDK&id=waapi.html
...