Table of Contents

AKRESULT __cdecl AK::SoundEngine::StartOutputCapture ( const AkOSChar in_CaptureFileName  ) 

Starts recording the sound engine audio output. StartOutputCapture outputs a wav file per current output device of the sound engine. If more than one device is active, the system will create multiple files in the same output directory and will append numbers at the end of the provided filename.

If no device is running yet, the system will return success AK_Success despite doing nothing. Use RegisterAudioDeviceStatusCallback to get notified when devices are created/destructed.

Returns:
AK_Success if successful, AK_Fail if there was a problem starting the output capture.
Remarks:
See also:
Parameters:
in_CaptureFileName  Name of the output capture file