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.

+1 vote

We're using Unreal Engine, and we're using the Rooms and Portals feature. Each room has ambient sound running in it, and we've got an "AmbianceManager" that makes sure only a small number of ambiances can play at once, it won't allow two of the same ambiance, and priority is given to ambiances which are least occluded, closest, etc..

This works fine when traveling room to room with different ambiances, but when you travel from one room to another that has the same ambiance, it sounds odd, because you have the same ambiance suddenly stopping then restarting again. I tried using "Seek" after polling for the current position of the playing sound, so that the new sound that starts playing (using PostEvent) and can just continue where the old one left off, but this sounds wrong too. I think there might be a little bit of latency between calling GetSourcePlayPosition(), and the engine actually seeking to that position, or between

the call to PostEvent and the engine actually starting to play the sound.

 

But what if I could just let the sound keep playing, and just transfer ownership of the sound to a new room, for the purpose of attenuation, etc..?

To summarize: 

-A looping sound was played using PostEvent(), with the Room's AkObjectID passed in.

-When the looping sound starts playing from a new room, I want to 'transfer' the looping sound over to a new room, so that it keeps playing as though it was always playing with this new object's

AkObjectID passed into PostEvent()  

 

Is this possible? If so, how do I do this?

dans General Discussion par Eric C. (320 points)

Please sign-in or register to answer this question.

...