버전

menu_open
경고 : 이 페이지에서 보호된 일부 정보가 표시되지 않았습니다.
특정 플랫폼의 라이선스 사용자일 경우 로그인하셨는지 확인해 주세요.

Quick Start Sample Integration - Plug-Ins

Plug-in Example

As explained in Integration Details - Plug-Ins, plug-ins can be used to extend the capabilities of Wwise with new sources and effects.

Your game must register all the source and effect plug-ins it might need with calls to AK::SoundEngine::RegisterPlugin(). For example, the sample project registers the Wwise Reverb effect which is used on the Voices Control Bus:

#include <AK/Plugin/AkRoomVerbFXFactory.h>          // Effect ID and creation functions of the Wwise RoomVerb plug-in
#include <AK/Plugin/AkAudioInputSourceFactory.h>    // Effect ID and creation functions of the Audio Input source plug-in

(...)

//
// Register plug-ins. You must register each source or effect plug-in used
// in your game (in this case just the Wwise RoomVerb effect and the Audio Input source plug-ins)
//

// Register RoomVerb FX plugin
AK::SoundEngine::RegisterPlugin( 
    AkPluginTypeEffect,
    AKCOMPANYID_AUDIOKINETIC,
    AKEFFECTID_ROOMVERB,
    CreateRoomVerbFX,
    CreateRoomVerbFXParams 
    );

// Register Audio Input source plugin
AK::SoundEngine::RegisterPlugin( 
    AkPluginTypeSource,
    AKCOMPANYID_AUDIOKINETIC,
    AKSOURCEID_AUDIOINPUT,
    CreateAudioInputSource,
    CreateAudioInputSourceParams 
    );

Refer to Creating New Plug-ins for information about creating your own source and effect plug-ins.

Note.gif
Note: This sample code comes from the Sound Engine Integration Sample Project available in the Samples section. Refer to Integration Demo Sample for more information.

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

지원이 필요하신가요?

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

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

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

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

Wwise를 시작해 보세요