CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
FAtomSource クラスabstract

#include <Atom.h>

FAtomSource の継承関係図

公開メンバ関数

CRIWARECORE_API FAtomSource (FAtomRuntime *InAtomRuntime)
virtual CRIWARECORE_API ~FAtomSource ()=0
virtual CRIWARECORE_API FString Describe (bool bUseLongName)
CRIWARECORE_API void GetChannelLocations (FVector &Left, FVector &Right) const
virtual CRIWARECORE_API float GetEnvelopeValue () const
virtual void * GetNativeHandle () const =0
const FAtomPlaybackInstanceGetPlaybackInstance () const
virtual CRIWARECORE_API float GetPlaybackPercent () const
CRIWARECORE_API FAtomSpatializationParams GetSpatializationParams ()
const FAtomWaveInfoGetWaveInfo () const
virtual bool Init (FAtomPlaybackInstance *InPlaybackInstance)=0
virtual bool IsFinished ()=0
bool IsGameOnly () const
virtual bool IsInitialized () const
bool IsPaused () const
bool IsPausedByGame () const
bool IsPausedManually () const
bool IsPlaying () const
virtual bool IsPreparedToInit ()
virtual bool IsStopping ()
virtual bool IsVoiceSource () const
void NotifyPlaybackData ()
virtual void Play ()=0
virtual bool PrepareForInitialization (FAtomPlaybackInstance *InPlaybackInstance)
CRIWARECORE_API void SetFilterFrequency ()
void SetPauseByGame (bool bInIsPauseByGame)
void SetPauseManually (bool bInIsPauseManually)
void SetVirtual ()
virtual CRIWARECORE_API void Stop ()
virtual CRIWARECORE_API void StopNow ()
virtual void Update ()=0
CRIWARECORE_API void UpdateStereoEmitterPositions ()

限定公開メンバ関数

CRIWARECORE_API float GetDebugVolume (const float InVolume)
CRIWARECORE_API void InitCommon ()
virtual void Pause ()=0
CRIWARECORE_API void UpdateCommon ()
void UpdatePause ()

限定公開変数類

FAtomRuntimeAtomRuntime
uint8 bIsInitialized: 1
uint8 bIsManuallyPaused: 1
uint8 bIsPaused: 1
uint8 bIsPausedByGame: 1
FThreadSafeBool bIsPlaying
uint8 bIsPreviewSound: 1
uint32 bIsVirtual: 1
friend FAtomActiveSound
friend FAtomRuntime
float HPFFrequency
int32 LastHeardUpdate
float LastHPFFrequency
float LastLPFFrequency
int32 LastUpdate
FVector LeftChannelSourceLocation
float LPFFrequency
int32 NumFramesPlayed
int32 NumTotalFrames
float Pitch
FAtomPlaybackInstancePlaybackInstance
float PlaybackTime
FVector RightChannelSourceLocation
int32 StartFrame
int32 TickCount
FAtomWaveInfo WaveInfo

詳解

This represent a Voice

Note: AtomExPlayer starts and stops mutiples voices, so it represnted also as a single playback voice in Unreal. but it can add playback voices.

構築子と解体子

◆ FAtomSource()

CRIWARECORE_API FAtomSource::FAtomSource ( FAtomRuntime * InAtomRuntime)
inline

◆ ~FAtomSource()

FAtomSource::~FAtomSource ( )
pure virtual

関数詳解

◆ Describe()

FString FAtomSource::Describe ( bool bUseLongName)
virtual

Returns a string describing the source (subclass can override, but it should call the base and append).

Atom::FAtomExPlayback, Atom::FAtomExternalExPlayback, Atom::FAtomPlayerで再実装されています。

◆ GetChannelLocations()

void FAtomSource::GetChannelLocations ( FVector & Left,
FVector & Right ) const

◆ GetDebugVolume()

float FAtomSource::GetDebugVolume ( const float InVolume)
protected

Returns the volume of the sound source after evaluating debug commands

◆ GetEnvelopeValue()

virtual CRIWARECORE_API float FAtomSource::GetEnvelopeValue ( ) const
inlinevirtual

Returns the source's envelope at the callback block rate. Only implemented in audio mixer.

Atom::FAtomExPlaybackで再実装されています。

◆ GetNativeHandle()

virtual void * FAtomSource::GetNativeHandle ( ) const
pure virtual

Atom::FAtomExPlayback, Atom::FAtomPlayerで実装されています。

◆ GetPlaybackInstance()

const FAtomPlaybackInstance * FAtomSource::GetPlaybackInstance ( ) const
inline

Returns the playback instance of this sound source.

◆ GetPlaybackPercent()

float FAtomSource::GetPlaybackPercent ( ) const
virtual

Returns the source's playback percent.

Atom::FAtomExPlaybackで再実装されています。

◆ GetSpatializationParams()

FAtomSpatializationParams FAtomSource::GetSpatializationParams ( )

Gets parameters necessary for computing 3d spatialization of sources.

◆ GetWaveInfo()

const FAtomWaveInfo & FAtomSource::GetWaveInfo ( ) const
inline

◆ Init()

virtual bool FAtomSource::Init ( FAtomPlaybackInstance * InPlaybackInstance)
pure virtual

Initializes the Atom source.

Atom::FAtomExPlayback, Atom::FAtomPlayerで実装されています。

◆ InitCommon()

void FAtomSource::InitCommon ( )
protected

Initializes common data for all sound source types.

◆ IsFinished()

virtual bool FAtomSource::IsFinished ( )
pure virtual

Returns true if the sound source has finished playing.

Atom::FAtomExPlayback, Atom::FAtomPlayerで実装されています。

◆ IsGameOnly()

bool FAtomSource::IsGameOnly ( ) const

Returns source is an in-game only. Will pause when in UI.

◆ IsInitialized()

virtual bool FAtomSource::IsInitialized ( ) const
inlinevirtual

Returns whether or not the sound source has initialized.

◆ IsPaused()

bool FAtomSource::IsPaused ( ) const
inline

Returns true if the sound is paused.

◆ IsPausedByGame()

bool FAtomSource::IsPausedByGame ( ) const
inline

Returns true if the sound is paused by game pause.

◆ IsPausedManually()

bool FAtomSource::IsPausedManually ( ) const
inline

Returns true if the sound is paused manually.

◆ IsPlaying()

bool FAtomSource::IsPlaying ( ) const
inline

Returns whether or not the sound source is playing.

◆ IsPreparedToInit()

virtual bool FAtomSource::IsPreparedToInit ( )
inlinevirtual

Returns if the source is prepared to initialize.

Atom::FAtomExPlayback, Atom::FAtomPlayerで再実装されています。

◆ IsStopping()

virtual bool FAtomSource::IsStopping ( )
inlinevirtual

Whether or not the source is stopping. Only implemented in audio mixer.

Atom::FAtomExPlayback, Atom::FAtomPlayerで再実装されています。

◆ IsVoiceSource()

virtual bool FAtomSource::IsVoiceSource ( ) const
inlinevirtual

◆ NotifyPlaybackData()

void FAtomSource::NotifyPlaybackData ( )

◆ Pause()

virtual void FAtomSource::Pause ( )
protectedpure virtual

Pauses the sound source.

Atom::FAtomExPlayback, Atom::FAtomPlayerで実装されています。

◆ Play()

virtual void FAtomSource::Play ( )
pure virtual

Plays the sound source.

Atom::FAtomExPlayback, Atom::FAtomPlayerで実装されています。

◆ PrepareForInitialization()

virtual bool FAtomSource::PrepareForInitialization ( FAtomPlaybackInstance * InPlaybackInstance)
inlinevirtual

Prepares the source for initialization.

Atom::FAtomExPlayback, Atom::FAtomExternalExPlayback, Atom::FAtomPlayerで再実装されています。

◆ SetFilterFrequency()

void FAtomSource::SetFilterFrequency ( )

Returns true if reverb should be applied. Set the bReverbApplied variable. Updates and sets the LFEBleed variable. Updates the FilterFrequency value.

◆ SetPauseByGame()

void FAtomSource::SetPauseByGame ( bool bInIsPauseByGame)

Pause the source from game pause

◆ SetPauseManually()

void FAtomSource::SetPauseManually ( bool bInIsPauseManually)

Pause the source manually

◆ SetVirtual()

void FAtomSource::SetVirtual ( )
inline

Returns the contained sound buffer object. Initializes any source effects for this sound source. Sets if this voice is virtual.

◆ Stop()

void FAtomSource::Stop ( )
virtual

Stops the sound source.

Atom::FAtomExPlayback, Atom::FAtomPlayerで再実装されています。

◆ StopNow()

virtual CRIWARECORE_API void FAtomSource::StopNow ( )
inlinevirtual

Atom::FAtomExPlayback, Atom::FAtomPlayerで再実装されています。

◆ Update()

virtual void FAtomSource::Update ( )
pure virtual

Updates the sound source.

Atom::FAtomExPlayback, Atom::FAtomPlayerで実装されています。

◆ UpdateCommon()

void FAtomSource::UpdateCommon ( )
protected

Updates common data for all sound source types.

◆ UpdatePause()

void FAtomSource::UpdatePause ( )
protected

Updates this source's pause state

◆ UpdateStereoEmitterPositions()

void FAtomSource::UpdateStereoEmitterPositions ( )

Updates the stereo emitter positions of this voice.

メンバ詳解

◆ AtomRuntime

FAtomRuntime* FAtomSource::AtomRuntime
protected

Owning Atom runtime.

◆ bIsInitialized

uint8 FAtomSource::bIsInitialized
protected

Whether or not the sound source is initialized.

◆ bIsManuallyPaused

uint8 FAtomSource::bIsManuallyPaused
protected

Whether or not we were paused manually.

◆ bIsPaused

uint8 FAtomSource::bIsPaused
protected

Whether or not we are actually paused.

◆ bIsPausedByGame

uint8 FAtomSource::bIsPausedByGame
protected

Cached sound mode value used to detect when to switch outputs. Whether we are paused by game state or not.

◆ bIsPlaying

FThreadSafeBool FAtomSource::bIsPlaying
protected

Effect ID of this sound source in the audio device sound source array. Whether we are playing or not.

◆ bIsPreviewSound

uint8 FAtomSource::bIsPreviewSound
protected

Whether or not the sound is a preview sound.

◆ bIsVirtual

uint32 FAtomSource::bIsVirtual
protected

True if this isn't a real hardware voice.

◆ FAtomActiveSound

friend FAtomSource::FAtomActiveSound
protected

◆ FAtomRuntime

friend FAtomSource::FAtomRuntime
protected

◆ HPFFrequency

float FAtomSource::HPFFrequency
protected

What frequency to set the HPF filter to. Note this could be caused by HPF distance attenuation.

◆ LastHeardUpdate

int32 FAtomSource::LastHeardUpdate
protected

Last tick when this source was active and had a hearable volume

◆ LastHPFFrequency

float FAtomSource::LastHPFFrequency
protected

The last HPF frequency set. Used to avoid making API calls when parameter doesn't changing.

◆ LastLPFFrequency

float FAtomSource::LastLPFFrequency
protected

The last LPF frequency set. Used to avoid making API calls when parameter doesn't changing.

◆ LastUpdate

int32 FAtomSource::LastUpdate
protected

Last tick when this source was active

◆ LeftChannelSourceLocation

FVector FAtomSource::LeftChannelSourceLocation
protected

The location of the left-channel source for stereo spatialization.

◆ LPFFrequency

float FAtomSource::LPFFrequency
protected

Cached sound buffer associated with currently bound wave instance. The amount of a sound to bleed to the LFE speaker What frequency to set the LPF filter to. Note this could be caused by occlusion, manual LPF application, or LPF distance attenuation.

◆ NumFramesPlayed

int32 FAtomSource::NumFramesPlayed
protected

The number of frames (Samples / NumChannels) played by the sound source.

◆ NumTotalFrames

int32 FAtomSource::NumTotalFrames
protected

The total number of frames of audio for the sound wave

◆ Pitch

float FAtomSource::Pitch
protected

The pitch of the sound source.

◆ PlaybackInstance

FAtomPlaybackInstance* FAtomSource::PlaybackInstance
protected

Contained playback instance.

◆ PlaybackTime

float FAtomSource::PlaybackTime
protected

The virtual current playback time. Used to trigger notifications when finished.

◆ RightChannelSourceLocation

FVector FAtomSource::RightChannelSourceLocation
protected

The location of the right-channel source for stereo spatialization.

◆ StartFrame

int32 FAtomSource::StartFrame
protected

The frame we started on.

◆ TickCount

int32 FAtomSource::TickCount
protected

Update tick count. Used to stop oldest stopping sound source.

◆ WaveInfo

FAtomWaveInfo FAtomSource::WaveInfo
protected

このクラス詳解は次のファイルから抽出されました:
  • C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Public/Atom/Atom.h
  • C:/git/Engine/Plugins/Runtime/CriWare/CriWare/Source/CriWareCore/Private/Atom/Atom.cpp