Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

0 votes
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?
dans General Discussion par Gareth M. (140 points)

1 Réponse

0 votes
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.
par Gareth M. (140 points)
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
...