버전

menu_open
Wwise SDK 2023.1.8
AkSpeakerVolumeMatrixCallbackInfo 구조체 참조

#include <AkCallback.h>

AkSpeakerVolumeMatrixCallbackInfo에 대한 상속 다이어그램 :
AkEventCallbackInfo AkCallbackInfo

Public 속성

AK::SpeakerVolumes::MatrixPtr pVolumes
 Pointer to volume matrix describing the contribution of each source channel to destination channels. Use methods of AK::SpeakerVolumes::Matrix to interpret them. 더 자세히 ...
 
AkChannelConfig inputConfig
 Channel configuration of the voice/bus. 더 자세히 ...
 
AkChannelConfig outputConfig
 Channel configuration of the output bus. 더 자세히 ...
 
AkReal32pfBaseVolume
 Base volume, common to all channels. 더 자세히 ...
 
AkReal32pfEmitterListenerVolume
 Emitter-listener pair-specific gain. When there are multiple emitter-listener pairs, this volume is set to that of the loudest pair, and the relative gain of other pairs is applied directly on the channel volume matrix pVolumes. 더 자세히 ...
 
AK::IAkMixerPluginContextpMixerContext
 Output mixing bus context. Use it to access a few useful panning and mixing services, as well as the ID of the output bus. NULL if pContext is the master audio bus. 더 자세히 ...
 
- AkEventCallbackInfo(으)로부터 상속된 Public 속성
AkPlayingID playingID
 Playing ID of Event, returned by PostEvent() 더 자세히 ...
 
AkUniqueID eventID
 Unique ID of Event, passed to PostEvent() 더 자세히 ...
 
- AkCallbackInfo(으)로부터 상속된 Public 속성
void * pCookie
 User data, passed to PostEvent() 더 자세히 ...
 
AkGameObjectID gameObjID
 Game object ID 더 자세히 ...
 

상세한 설명

Callback information structure corresponding to AK_SpeakerVolumeMatrix, and passed to callbacks registered in RegisterBusVolumeCallback() or PostEvent() with AK_SpeakerVolumeMatrix. These callbacks are called at every audio frame for every connection from an input (voice or bus) to an output bus (standard or auxiliary), at the point when an input signal is about to be mixed into a mixing bus, but just before having been scaled in accordance to volumes authored in Wwise. The volumes are passed via this structure as pointers because they can be modified in the callbacks. They are factored into two linear values ([0..1]): a common base value (pfBaseVolume), that is channel-agnostic and represents the collapsed gain of all volume changes in Wwise (sliders, actions, RTPC, attenuations, ...), and a matrix of gains per input/output channel, which depends on spatialization. Use the methods of AK::SpeakerVolumes::Matrix, defined in AkCommonDefs.h, to perform operations on them. Access each input channel of the volumes matrix with AK::SpeakerVolumes::Matrix::GetChannel(), passing it the input and output channel configuration. Then, you may access each element of the output vector using the standard bracket [] operator. See AK::SpeakerVolumes for more details. It is crucial that the processing done in the callback be lightweight and non-blocking.

참고

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


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

지원이 필요하신가요?

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

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

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

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

Wwise를 시작해 보세요