목차

대상 플랫폼:

include/AK/SoundEngine/Common/AkSpeakerVolumes.h 파일 참조

이 파일의 소스 코드 페이지로 가기

네임스페이스

namespace   AK
 

Audiokinetic namespace.


namespace   AK::SpeakerVolumes
 

Multi-channel volume definitions and services.


namespace   AK::SpeakerVolumes::Vector
 

Volume vector services.


namespace   AK::SpeakerVolumes::Matrix
 

Volume matrix (multi-in/multi-out channel configurations) services.


타입정의

typedef AkReal32 AK::SpeakerVolumes::VectorPtr
  Volume vector. Access each element with the standard bracket [] operator.
typedef AkReal32 AK::SpeakerVolumes::MatrixPtr
  Volume matrix. Access each input channel vector with AK::SpeakerVolumes::Matrix::GetChannel().
typedef const AkReal32 AK::SpeakerVolumes::ConstVectorPtr
  Constant volume vector. Access each element with the standard bracket [] operator.
typedef const AkReal32 AK::SpeakerVolumes::ConstMatrixPtr
  Constant volume matrix. Access each input channel vector with AK::SpeakerVolumes::Matrix::GetChannel().

함수

AkForceInline void  AK::SpeakerVolumes::Vector::Copy (VectorPtr in_pVolumesDst, ConstVectorPtr in_pVolumesSrc, AkUInt32 in_uNumChannels)
  Copy volumes.
AkForceInline void  AK::SpeakerVolumes::Vector::Copy (VectorPtr in_pVolumesDst, ConstVectorPtr in_pVolumesSrc, AkUInt32 in_uNumChannels, AkReal32 in_fGain)
  Copy volumes with gain.
AkForceInline void  AK::SpeakerVolumes::Vector::Zero (VectorPtr in_pVolumes, AkUInt32 in_uNumChannels)
  Clear volumes.
AkForceInline void  AK::SpeakerVolumes::Vector::Add (VectorPtr in_pVolumesDst, ConstVectorPtr in_pVolumesSrc, AkUInt32 in_uNumChannels)
  Accumulate two volume vectors.
AkForceInline AkReal32  AK::SpeakerVolumes::Vector::L1Norm (ConstVectorPtr io_pVolumes, AkUInt32 in_uNumChannels)
  Compute the sum of all components of a volume vector.
AkForceInline void  AK::SpeakerVolumes::Vector::Mul (VectorPtr in_pVolumesDst, const AkReal32 in_fVol, AkUInt32 in_uNumChannels)
  Multiply volume vector with a scalar.
AkForceInline void  AK::SpeakerVolumes::Vector::Mul (VectorPtr in_pVolumesDst, ConstVectorPtr in_pVolumesSrc, AkUInt32 in_uNumChannels)
  Multiply two volume vectors.
AkForceInline void  AK::SpeakerVolumes::Vector::Max (AkReal32 *in_pVolumesDst, const AkReal32 *in_pVolumesSrc, AkUInt32 in_uNumChannels)
  Get max for all elements of two volume vectors, independently.
AkForceInline void  AK::SpeakerVolumes::Vector::Min (AkReal32 *in_pVolumesDst, const AkReal32 *in_pVolumesSrc, AkUInt32 in_uNumChannels)
  Get min for all elements of two volume vectors, independently.
AkForceInline AkUInt32  AK::SpeakerVolumes::Matrix::GetRequiredSize (AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut)
  Compute size (in bytes) required for given channel configurations.
AkForceInline AkUInt32  AK::SpeakerVolumes::Matrix::GetNumElements (AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut)
  Compute size (in number of elements) required for given channel configurations.
AkForceInline VectorPtr  AK::SpeakerVolumes::Matrix::GetChannel (MatrixPtr in_pVolumeMx, AkUInt32 in_uIdxChannelIn, AkUInt32 in_uNumChannelsOut)
  Get pointer to volume distribution for input channel in_uIdxChannelIn.
AkForceInline ConstVectorPtr  AK::SpeakerVolumes::Matrix::GetChannel (ConstMatrixPtr in_pVolumeMx, AkUInt32 in_uIdxChannelIn, AkUInt32 in_uNumChannelsOut)
  Get pointer to volume distribution for input channel in_uIdxChannelIn.
AkForceInline void  AK::SpeakerVolumes::Matrix::Copy (MatrixPtr in_pVolumesDst, ConstMatrixPtr in_pVolumesSrc, AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut)
  Copy matrix.
AkForceInline void  AK::SpeakerVolumes::Matrix::Copy (MatrixPtr in_pVolumesDst, ConstMatrixPtr in_pVolumesSrc, AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut, AkReal32 in_fGain)
  Copy matrix with gain.
AkForceInline void  AK::SpeakerVolumes::Matrix::Zero (MatrixPtr in_pVolumes, AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut)
  Clear matrix.
AkForceInline void  AK::SpeakerVolumes::Matrix::Mul (MatrixPtr in_pVolumesDst, const AkReal32 in_fVol, AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut)
  Multiply a matrix with a scalar.
AkForceInline void  AK::SpeakerVolumes::Matrix::Add (MatrixPtr in_pVolumesDst, ConstMatrixPtr in_pVolumesSrc, AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut)
  Add all elements of two volume matrices, independently.
AkForceInline void  AK::SpeakerVolumes::Matrix::MAdd (MatrixPtr in_pVolumesDst, ConstMatrixPtr in_pVolumesSrc, AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut, AkReal32 in_fGain)
  Pointwise Multiply-Add of all elements of two volume matrices.
AkForceInline void  AK::SpeakerVolumes::Matrix::AbsMax (MatrixPtr in_pVolumesDst, ConstMatrixPtr in_pVolumesSrc, AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut)
  Get absolute max for all elements of two volume matrices, independently.
AkForceInline void  AK::SpeakerVolumes::Matrix::Max (MatrixPtr in_pVolumesDst, ConstMatrixPtr in_pVolumesSrc, AkUInt32 in_uNumChannelsIn, AkUInt32 in_uNumChannelsOut)
  Get max for all elements of two volume matrices, independently.

상세한 설명

Multi-channel volume definitions and services. Always associated with an AkChannelConfig. In the case of standard configurations, the volume items ordering match the bit ordering in the channel mask, except for the LFE which is skipped and placed at the end of the volume array. Refer to Advanced Mix Customization Using the Speaker Matrix Callback for an example of how to manipulate speaker volume vectors/matrices.

AkSpeakerVolumes.h 파일에서 정의되었습니다.