La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

0 votes
How can I capture audio buffer from Wwise in Linux platform?Can you give me API,thank you very much
dans General Discussion par cyz c. (100 points)

1 Réponse

0 votes

From the game side, you can use AK::SoundEngine::StartOutputCapture(). The capture is on the same audio stream that is sent to the audio device, and as such any processing done in the audio device will not be present.

From an effect plug-in, the received audio buffer is the audio stream at the point of the audio pipeline where the effect is inserted. In such a custom plug-in, you can grab the audio buffer and write it to a file as you please.
Note that if there are audio objects in the audio pipeline, there will be an instance of the plug-in per object stream. To avoid this, you will need to create an object processor effect plug-in.

par Samuel L. (Audiokinetic) (23.6k points)
How to capture audio buffer in Linux platorm?
...