버전
menu

Wwise SDK 2025.1.1
AkCmd_ControlOutputCapture 구조체 참조

#include <AkCommandTypes.h>

Public 속성

AkUInt32 isEnabled
 Whether the Sound Engine should capture the audio output to a file. 더 자세히 ...
 

상세한 설명

Starts or stops recording the sound engine audio output.

The capture system 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 command will return success AK_Success despite doing nothing. Use AK::SoundEngine::RegisterAudioDeviceStatusCallback to get notified when devices are created/destructed.

Remarks
The sound engine opens a stream for writing using AK::IAkStreamMgr::CreateStd(). If you are using the default implementation of the Stream Manager, file opening is executed in your implementation of the Low-Level IO interface AK::StreamMgr::IAkLowLevelIOHook::BatchOpen(). The following AkFileSystemFlags are passed: uCompanyID = AKCOMPANYID_AUDIOKINETIC and uCodecID = AKCODECID_PCM, and the AkOpenMode is AK_OpenModeWriteOvrwr. See 파일 위치 결정 for more details on managing the deployment of your Wwise generated data.

When isEnabled is set, the Sound Engine expects a string to follow the command representing the name of the file to write. For example:

auto cmd = (AkCmd_ControlOutputCapture*)AK_CommandBuffer_Add(buffer, AkCommand_ControlOutputCapture);
cmd->isEnabled = 1;
AK_CommandBuffer_AddString(buffer, "myrecording.wav");

This command can fail for the following reasons:

AkCommandTypes.h 파일의 1112 번째 라인에서 정의되었습니다.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요