|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <AtomMixerSourceManager.h>
クラス | |
| struct | FAtomMixerThreadCommand |
| struct | FCommands |
| struct | FGameThreadInfo |
| struct | FPendingAudioBusConnection |
| struct | FSourceInfo |
公開メンバ関数 | |
| FMixerSourceManager (FAtomRuntime *InAtomRuntime) | |
| ~FMixerSourceManager () | |
| void | AddPatchInputForAudioBus (FAudioBusKey InAudioBusKey, const Audio::FPatchInput &InPatchInput) |
| void | AddPatchInputForAudioBus_AudioThread (FAudioBusKey InAudioBusKey, const Audio::FPatchInput &InPatchInput) |
| void | AddPatchOutputForAudioBus (FAudioBusKey InAudioBusKey, const Audio::FPatchOutputStrongPtr &InPatchOutputStrongPtr) |
| void | AddPatchOutputForAudioBus_AudioThread (FAudioBusKey InAudioBusKey, const Audio::FPatchOutputStrongPtr &InPatchOutputStrongPtr) |
| void | AddPendingAudioBusConnection (FAudioBusKey AudioBusKey, int32 NumChannels, bool bIsAutomatic, Audio::FPatchInput PatchInput) |
| void | AddPendingAudioBusConnection (FAudioBusKey AudioBusKey, int32 NumChannels, bool bIsAutomatic, Audio::FPatchOutputStrongPtr PatchOutputStrongPtr) |
| void | AtomMixerThreadMPSCCommand (TFunction< void()> &&InCommand, const char *InDebugString=nullptr) |
| void | CancelQuantizedSound (const int32 SourceID) |
| void | ComputeNextBlockOfSamples () |
| void | FlushCommandQueue (bool bPumpCommandQueue=false) |
| void | Get2DChannelMap (const int32 SourceId, int32 InNumOutputChannels, Atom::FAlignedFloatBuffer &OutChannelMap) |
| FAtomRuntime * | GetAtomRuntime () const |
| int32 | GetAudioBusNumChannels (FAudioBusKey InAudioBusKey) const |
| float | GetEnvelopeValue (const int32 SourceId) const |
| bool | GetFreeSourceID (int32 &OutSourceID) |
| int32 | GetNumActiveAudioBuses () const |
| int32 | GetNumActiveSources () const |
| int32 | GetNumChannels (const int32 SourceID) const |
| int64 | GetNumFramesPlayed (const int32 SourceId) const |
| int32 | GetNumOutputFrames () const |
| const Atom::FAlignedFloatBuffer & | GetPreDistanceAttenuationBuffer (const int32 SourceID) const |
| const Atom::FAlignedFloatBuffer & | GetPreEffectBuffer (const int32 SourceID) const |
| const Atom::FAlignedFloatBuffer & | GetPreviousAudioBusBuffer (const int32 AudioBusID) const |
| const Atom::FAlignedFloatBuffer & | GetPreviousSourceBusBuffer (const int32 SourceID) const |
| void | Init (const FSourceManagerInitParams &InitParams) |
| void | InitSource (const int32 SourceID, const FMixerSourceVoiceInitParams &InitParams) |
| FAtomPlaybackId | InitSourcePlayer (const int32 SourceID) |
| bool | IsAudioBusActive (FAudioBusKey InAudioBusKey) const |
| bool | IsAudioPlayerActive (FAtomExPlayerKey InAudioPlayerKey) const |
| bool | IsSourceBus (const int32 SourceID) const |
| bool | IsUsingHRTFSpatializer (const int32 SourceID) const |
| void | IterateOverVoicePools (TFunctionRef< void(EMixerSourceVoiceCodecType CodecType, EMixerSourceVoiceStreamingType StreamingType, int32 ID, int32 NumUsedVoices, int32 MaxVoices, int32 MaxChannels, int32 MaxSampleRate)> Func) const |
| void | Pause (const int32 SourceID) |
| void | PauseSoundForQuantizationCommand (const int32 SourceID) |
| void | Play (const int32 SourceID) |
| void | PumpCommandQueue () |
| void | ReleaseSourceID (const int32 SourceID) |
| void | SetBusSendInfo (const int32 SourceID, EAtomBusSendStage InAudioBusSendSTage, uint32 AudiobusID, float BusSendLevel, const FString &InBusName) |
| void | SetModHPFFrequency (const int32 SourceID, const float InModFrequency) |
| void | SetModLPFFrequency (const int32 SourceID, const float InModFrequency) |
| void | SetModPitch (const int32 SourceID, const float InModPitch) |
| void | SetModulationRouting (const int32 SourceID, FAtomSoundModulationDefaultSettings &ModulationSettings) |
| void | SetModVolume (const int32 SourceID, const float InModVolume) |
| void | SetSubBufferDelayForSound (const int32 SourceID, const int32 FramesToDelay) |
| void | SetVoiceEffect (const int32 SourceID, const FAtomSourceVoiceEffect &Effect) |
| void | StartAudioBus (FAudioBusKey InAudioBusKey, const FString &InAudioBusName, int32 InNumChannels, bool bInIsAutomatic) |
| void | StartAudioPlayer (FAtomExPlayerKey InAudioPlayerKey) |
| void | Stop (const int32 SourceID) |
| void | StopAudioBus (FAudioBusKey InAudioBusKey) |
| void | StopAudioPlayer (FAtomExPlayerKey InAudioPlayerKey) |
| void | StopFade (const int32 SourceID) |
| void | StopInternal (const int32 SourceID) |
| void | SubmitBuffer (const int32 SourceID, float **Data, int32 NumChannels, int32 NumFrames) |
| void | UnPauseSoundForQuantizationCommand (const int32 SourceID) |
| void | Update (bool bTimedOut=false) |
| void | UpdatePendingReleaseData (bool bForceWait=false) |
非公開型 | |
| using | FAtomMixerMpscCommand = FAtomMixerThreadCommand |
非公開メンバ関数 | |
| void | AtomMixerThreadCommand (TFunction< void()> &&InFunction, const char *InDebugString=nullptr, bool bInDeferExecution=false) |
| void | ComputeBuses () |
| void | ComputeOutputBuffer (const bool bGenerateBuses, int32 SourceID) |
| void | ComputeSourceBuffer (const bool bGenerateBuses, int32 SourceID) |
| void | ConnectBusPatches () |
| void | DoStallDiagnostics () |
| TSharedRef< FMixerAudioBus > | FindOrAddAudioBus (const FAudioBusKey BusKey, const int32 InNumChannels, const bool bIsAutomatic, bool *bOutAlreadyExisted=nullptr) |
| void | GenerateSourceAudio (const bool bGenerateBuses) |
| float | GetCommandQueueFillPercentage () const |
| float | GetFloatCompareTolerance () const |
| void | LogCallstack (uint32 InThreadID) |
| void | LogCallstacks () |
| void | LogInflightAsyncTasks () |
| void | LogRenderThreadStall () |
| void | ReleaseSource (const int32 SourceID) |
| void | UpdateBuses () |
静的非公開変数類 | |
| static const int32 | NUM_BYTES_PER_SAMPLE = 2 |
フレンド | |
| class | FMixerSourceVoice |
| Atom::FMixerSourceManager::FMixerSourceManager | ( | FAtomRuntime * | InAtomRuntime | ) |
| Atom::FMixerSourceManager::~FMixerSourceManager | ( | ) |
| void Atom::FMixerSourceManager::AddPatchInputForAudioBus | ( | FAudioBusKey | InAudioBusKey, |
| const Audio::FPatchInput & | InPatchInput ) |
| void Atom::FMixerSourceManager::AddPatchInputForAudioBus_AudioThread | ( | FAudioBusKey | InAudioBusKey, |
| const Audio::FPatchInput & | InPatchInput ) |
| void Atom::FMixerSourceManager::AddPatchOutputForAudioBus | ( | FAudioBusKey | InAudioBusKey, |
| const Audio::FPatchOutputStrongPtr & | InPatchOutputStrongPtr ) |
| void Atom::FMixerSourceManager::AddPatchOutputForAudioBus_AudioThread | ( | FAudioBusKey | InAudioBusKey, |
| const Audio::FPatchOutputStrongPtr & | InPatchOutputStrongPtr ) |
|
inline |
|
inline |
|
private |
| void Atom::FMixerSourceManager::AtomMixerThreadMPSCCommand | ( | TFunction< void()> && | InCommand, |
| const char * | InDebugString = nullptr ) |
| void Atom::FMixerSourceManager::CancelQuantizedSound | ( | const int32 | SourceID | ) |
|
private |
| void Atom::FMixerSourceManager::ComputeNextBlockOfSamples | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
| void Atom::FMixerSourceManager::FlushCommandQueue | ( | bool | bPumpCommandQueue = false | ) |
|
private |
| void Atom::FMixerSourceManager::Get2DChannelMap | ( | const int32 | SourceId, |
| int32 | InNumOutputChannels, | ||
| Atom::FAlignedFloatBuffer & | OutChannelMap ) |
|
inline |
| int32 Atom::FMixerSourceManager::GetAudioBusNumChannels | ( | FAudioBusKey | InAudioBusKey | ) | const |
|
private |
| float Atom::FMixerSourceManager::GetEnvelopeValue | ( | const int32 | SourceId | ) | const |
|
private |
| bool Atom::FMixerSourceManager::GetFreeSourceID | ( | int32 & | OutSourceID | ) |
| int32 Atom::FMixerSourceManager::GetNumActiveAudioBuses | ( | ) | const |
| int32 Atom::FMixerSourceManager::GetNumActiveSources | ( | ) | const |
| int32 Atom::FMixerSourceManager::GetNumChannels | ( | const int32 | SourceID | ) | const |
| int64 Atom::FMixerSourceManager::GetNumFramesPlayed | ( | const int32 | SourceId | ) | const |
|
inline |
| const Atom::FAlignedFloatBuffer & Atom::FMixerSourceManager::GetPreDistanceAttenuationBuffer | ( | const int32 | SourceID | ) | const |
| const Atom::FAlignedFloatBuffer & Atom::FMixerSourceManager::GetPreEffectBuffer | ( | const int32 | SourceID | ) | const |
| const Atom::FAlignedFloatBuffer & Atom::FMixerSourceManager::GetPreviousAudioBusBuffer | ( | const int32 | AudioBusID | ) | const |
| const Atom::FAlignedFloatBuffer & Atom::FMixerSourceManager::GetPreviousSourceBusBuffer | ( | const int32 | SourceID | ) | const |
| void Atom::FMixerSourceManager::Init | ( | const FSourceManagerInitParams & | InitParams | ) |
| void Atom::FMixerSourceManager::InitSource | ( | const int32 | SourceID, |
| const FMixerSourceVoiceInitParams & | InitParams ) |
| FAtomPlaybackId Atom::FMixerSourceManager::InitSourcePlayer | ( | const int32 | SourceID | ) |
| bool Atom::FMixerSourceManager::IsAudioBusActive | ( | FAudioBusKey | InAudioBusKey | ) | const |
| bool Atom::FMixerSourceManager::IsAudioPlayerActive | ( | FAtomExPlayerKey | InAudioPlayerKey | ) | const |
| bool Atom::FMixerSourceManager::IsSourceBus | ( | const int32 | SourceID | ) | const |
| bool Atom::FMixerSourceManager::IsUsingHRTFSpatializer | ( | const int32 | SourceID | ) | const |
| void Atom::FMixerSourceManager::IterateOverVoicePools | ( | TFunctionRef< void(EMixerSourceVoiceCodecType CodecType, EMixerSourceVoiceStreamingType StreamingType, int32 ID, int32 NumUsedVoices, int32 MaxVoices, int32 MaxChannels, int32 MaxSampleRate)> | Func | ) | const |
|
private |
|
private |
|
private |
|
private |
| void Atom::FMixerSourceManager::Pause | ( | const int32 | SourceID | ) |
| void Atom::FMixerSourceManager::PauseSoundForQuantizationCommand | ( | const int32 | SourceID | ) |
| void Atom::FMixerSourceManager::Play | ( | const int32 | SourceID | ) |
| void Atom::FMixerSourceManager::PumpCommandQueue | ( | ) |
|
private |
| void Atom::FMixerSourceManager::ReleaseSourceID | ( | const int32 | SourceID | ) |
| void Atom::FMixerSourceManager::SetBusSendInfo | ( | const int32 | SourceID, |
| EAtomBusSendStage | InAudioBusSendSTage, | ||
| uint32 | AudiobusID, | ||
| float | BusSendLevel, | ||
| const FString & | InBusName ) |
| void Atom::FMixerSourceManager::SetModHPFFrequency | ( | const int32 | SourceID, |
| const float | InModFrequency ) |
| void Atom::FMixerSourceManager::SetModLPFFrequency | ( | const int32 | SourceID, |
| const float | InModFrequency ) |
| void Atom::FMixerSourceManager::SetModPitch | ( | const int32 | SourceID, |
| const float | InModPitch ) |
| void Atom::FMixerSourceManager::SetModulationRouting | ( | const int32 | SourceID, |
| FAtomSoundModulationDefaultSettings & | ModulationSettings ) |
| void Atom::FMixerSourceManager::SetModVolume | ( | const int32 | SourceID, |
| const float | InModVolume ) |
| void Atom::FMixerSourceManager::SetSubBufferDelayForSound | ( | const int32 | SourceID, |
| const int32 | FramesToDelay ) |
| void Atom::FMixerSourceManager::SetVoiceEffect | ( | const int32 | SourceID, |
| const FAtomSourceVoiceEffect & | Effect ) |
| void Atom::FMixerSourceManager::StartAudioBus | ( | FAudioBusKey | InAudioBusKey, |
| const FString & | InAudioBusName, | ||
| int32 | InNumChannels, | ||
| bool | bInIsAutomatic ) |
| void Atom::FMixerSourceManager::StartAudioPlayer | ( | FAtomExPlayerKey | InAudioPlayerKey | ) |
| void Atom::FMixerSourceManager::Stop | ( | const int32 | SourceID | ) |
| void Atom::FMixerSourceManager::StopAudioBus | ( | FAudioBusKey | InAudioBusKey | ) |
| void Atom::FMixerSourceManager::StopAudioPlayer | ( | FAtomExPlayerKey | InAudioPlayerKey | ) |
| void Atom::FMixerSourceManager::StopFade | ( | const int32 | SourceID | ) |
| void Atom::FMixerSourceManager::StopInternal | ( | const int32 | SourceID | ) |
| void Atom::FMixerSourceManager::SubmitBuffer | ( | const int32 | SourceID, |
| float ** | Data, | ||
| int32 | NumChannels, | ||
| int32 | NumFrames ) |
| void Atom::FMixerSourceManager::UnPauseSoundForQuantizationCommand | ( | const int32 | SourceID | ) |
| void Atom::FMixerSourceManager::Update | ( | bool | bTimedOut = false | ) |
|
private |
| void Atom::FMixerSourceManager::UpdatePendingReleaseData | ( | bool | bForceWait = false | ) |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |