Performing unbuffered I/O on Windows
The CAkDefaultIOHookDeferred low-level I/O hook sample (located in WWISESDK/samples/SoundEngine/Windows/) opens files with FILE_FLAG_NO_BUFFERING and FILE_FLAG_OVERLAPPED flags. These flags, combined with correctly aligned memory, give optimal unbuffered I/O performance according to the Windows ...
Do I really need to call ::VirtualAlloc() in my implementation of AK::VirtualAllocHook()?
Allocation hooks are called by the Wwise Memory Manager whenever it creates a pool. You need to implement all of them for a given platform (see the SDK documentation: Sound Engine Integration Walkthrough > Initialize the Different Modules of the Sound Engine > Memory Hooks). On Windows, A ...
Audio frame size on Windows
On Windows and on the Mac, in normal quality mode (AkSoundQuality::AkSoundQuality_High), the audio frame size is 1024 samples at 48 KHz, which corresponds to about 21.3 milliseconds. In reduced quality mode (AkSoundQuality::AkSoundQuality_Low), the audio frame size is 1024 samples at 24 KHz, whi ...
Why changing the focus while initializing the sound engine can make the sound engine to be silent?
(PC only) When initializing the sound engine, the game must provide a valid HWND to the initialization of the sound engine in the AkPlatformInitSettings. If you are using AK::SoundEngine::GetDefaultPlatformInitSettings() to initialize the parameters (which is a good thing by the way), it return ...
Voice Volume: Can different PC soundcards affect my mix?
On PC, the Wwise Sound Engine does all the voice mixing in software, with our own custom code, and only outputs a single stereo or 5.1 channel voice to DirectSound. It is therefore highly unlikely that using some specific sound hardware would change the relative volume of voices. It is possible ...