Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
HI,

I am writing an audio input plugin to play audio from an in memory buffer (it is is the audio stream of a .mp4 video being decoded elsewhere in the program). I have managed to register this plugin, and written the mandatory callbacks for GetFormat and Execute callback.

The decoded audio stream in 16 bit fixed point interleaved integer for a dual channel stereo format. which I set using AkChannelConfig::SetStandard to create a configuration and then call AkAudioFormat::SetAll tp set the remaining format values.

In the ExecuteCallback function I get the MaxFrames vlaue for the io_outbuffer object and copy that amount of data into the buffer, before setting uValid frames to MaxFrames and eState - AK_Dataready.

This results in the audio being played, and matching with the video. However it is not smoothed containing sharp 'tick' sounding noises which I suspect are small bursts of static at seemingly regular intervals.

Can anybody assist in how to achieve smooth audio playback via this source plugin?
in General Discussion by Kieran C. (110 points)
Hey guy, recently I managed to use audio input to play external audio and I have faced similar sharp noise problem to yours. I would appreciate if you could share with me how you settle this problem at last?

Please sign-in or register to answer this question.

...