|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <AtomMixerPlayer.h>
クラス | |
| struct | FPlaybackEventInfo |
| struct | IPlaybackListener |
公開メンバ関数 | |
| FAtomExPlayer () | |
| FAtomExPlayer (const FAtomExPlayerArgs &InArgs, FCriAtomExPlayerPtr &&ExternalPlayer=FCriAtomExPlayerPtr()) | |
| ~FAtomExPlayer () | |
| void | EnablePcmFilter (bool bEnable) |
| FAtomRuntime * | GetAtomRuntime () const |
| void * | GetNativeHandle () const |
| void | HandleNativeOnCueBlockIndexChanged (CriAtomExPlaybackId PlaybackID, CriAtomExBlockIndex BlockIndex) |
| void | HandleNativeOnPlaybackEvent (CriAtomExPlaybackEvent PlaybackEvent, const CriAtomExPlaybackInfoDetail *Info) |
| void | HandleNativePlayerOnFilter (CriAtomExPlaybackId PlaybackID, CriAtomPcmFormat Format, CriSint32 NumChannels, CriSint32 NumFrames, void *Data[]) |
| bool | IsExternal () const |
| bool | IsInitialized () const |
| void | Pause (FAtomPlaybackId PlaybackID) |
| FAtomPlaybackId | Prepare () |
| void | RegisterPlaybackListener (TSharedRef< IPlaybackListener > PlaybackListener, FAtomPlaybackId PlaybackID) |
| void | ResetSpatialization (const FAtomPlaybackInstance &PlaybackInstance) |
| void | Resume (FAtomPlaybackId PlaybackID) |
| void | Stop (FAtomPlaybackId PlaybackID) |
| void | StopWithoutReleaseTime (FAtomPlaybackId PlaybackID) |
| void | UnregisterPlaybackListener (FAtomPlaybackId PlaybackID) |
| bool | Update () |
| void | UpdateParameters (FAtomPlaybackId PlaybackID) |
| bool | UpdateSpatialization (const FAtomPlaybackInstance &PlaybackInstance) |
静的公開メンバ関数 | |
| static TSharedPtr< FAtomExPlayer, ESPMode::ThreadSafe > | Create (const FAtomExPlayerArgs &Args) |
| static TSharedPtr< FAtomExPlayer, ESPMode::ThreadSafe > | CreateWithExternalPlayer (const FAtomExPlayerArgs &Args, FCriAtomExPlayerPtr &&ExternalPlayer) |
| static void | GetPlaybackInfo (FAtomPlaybackInstance *PlaybackInstance, FAtomPlaybackId PlaybackID) |
非公開メンバ関数 | |
| void | AddSpatialization (const FAtomPlaybackInstance &PlaybackInstance) |
| void | ProcessEvent (FPlaybackEventInfo EventInfo) |
| void | RemoveSpatialization () |
| void | Update3DSource (FCriAtomExSourcePtr &InExSource, const FTransform &InTransform, const FAtomAttenuationSettings *InAttenuationSettings=nullptr, bool bSpatialize=false, bool bForceAttenuate=false) |
非公開変数類 | |
| FAtomActiveSound * | ActiveSound |
| FAtomRuntime * | AtomRuntime |
| uint8 | bIs3D: 1 |
| FThreadSafeBool | bIsExternal |
| uint8 | bIsInitialized: 1 |
| uint8 | bUsePcmFilter: 1 |
| FCriAtomExPlayerPtr | ExPlayer |
| FCriAtomExSourcePtr | ExSource |
| FCriAtomExSourceListPtr | ExSourceList |
| TArray< FCriAtomExSourcePtr > | ExSources |
| friend | FAtomExPlayback |
| TMap< FAtomPlaybackId, TSharedRef< IPlaybackListener > > | PlaybackListeners |
| FCriticalSection | PlaybackListenersLock |
| TSharedPtr< FAtomExPlayerGroup > | PlayerGroup |
| FCriticalSection | PlayerLock |
| TQueue< FPlaybackEventInfo, EQueueMode::Mpsc > | QueuedEvents |
| CriAtomExPlayerStatus | Status |
FAtomExPlayer class
Class which implements a mixer sound source controller object using for Playback Instancing.
| Atom::FAtomExPlayer::FAtomExPlayer | ( | ) |
Constructors.
| Atom::FAtomExPlayer::FAtomExPlayer | ( | const FAtomExPlayerArgs & | InArgs, |
| FCriAtomExPlayerPtr && | ExternalPlayer = FCriAtomExPlayerPtr() ) |
| Atom::FAtomExPlayer::~FAtomExPlayer | ( | ) |
Destructor.
|
private |
|
static |
|
static |
| void Atom::FAtomExPlayer::EnablePcmFilter | ( | bool | bEnable | ) |
|
inline |
|
inline |
|
static |
| void Atom::FAtomExPlayer::HandleNativeOnCueBlockIndexChanged | ( | CriAtomExPlaybackId | PlaybackID, |
| CriAtomExBlockIndex | BlockIndex ) |
| void Atom::FAtomExPlayer::HandleNativeOnPlaybackEvent | ( | CriAtomExPlaybackEvent | PlaybackEvent, |
| const CriAtomExPlaybackInfoDetail * | Info ) |
| void Atom::FAtomExPlayer::HandleNativePlayerOnFilter | ( | CriAtomExPlaybackId | PlaybackID, |
| CriAtomPcmFormat | Format, | ||
| CriSint32 | NumChannels, | ||
| CriSint32 | NumFrames, | ||
| void * | Data[] ) |
|
inline |
|
inline |
| void Atom::FAtomExPlayer::Pause | ( | FAtomPlaybackId | PlaybackID | ) |
| FAtomPlaybackId Atom::FAtomExPlayer::Prepare | ( | ) |
ADX Api wrap
|
private |
| void Atom::FAtomExPlayer::RegisterPlaybackListener | ( | TSharedRef< IPlaybackListener > | PlaybackListener, |
| FAtomPlaybackId | PlaybackID ) |
|
private |
| void Atom::FAtomExPlayer::ResetSpatialization | ( | const FAtomPlaybackInstance & | PlaybackInstance | ) |
| void Atom::FAtomExPlayer::Resume | ( | FAtomPlaybackId | PlaybackID | ) |
| void Atom::FAtomExPlayer::Stop | ( | FAtomPlaybackId | PlaybackID | ) |
| void Atom::FAtomExPlayer::StopWithoutReleaseTime | ( | FAtomPlaybackId | PlaybackID | ) |
| void Atom::FAtomExPlayer::UnregisterPlaybackListener | ( | FAtomPlaybackId | PlaybackID | ) |
| bool Atom::FAtomExPlayer::Update | ( | ) |
Executes event listener and return true if player is still playing some playback.
|
private |
| void Atom::FAtomExPlayer::UpdateParameters | ( | FAtomPlaybackId | PlaybackID | ) |
| bool Atom::FAtomExPlayer::UpdateSpatialization | ( | const FAtomPlaybackInstance & | PlaybackInstance | ) |
|
private |
the linked active sound.
|
private |
the atom runtime.
|
private |
|
private |
|
private |
|
private |
|
private |
The native AtomEx player handle.
|
private |
The native AtomEx source handle if 3d sound.
|
private |
The native AtomEx source list handle if using multiple 3d sound positions.
|
private |
The native AtomEx source handles if using multiple 3d sound positions.
|
private |
|
private |
|
private |
|
private |
The player group this player is attached.
|
private |
the lock for player handle.
|
private |
The playback event queue
|
private |
The native Status of the player.