Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

How can I capture audio buffer from Wwise in Linux platform?Can you give me API,thank you very much

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

1 Answer

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.

answered Sep 9, 2021 by Samuel L. (Audiokinetic) (23,300 points)
...