![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VoiceModule.h>
Inheritance diagram for FVoiceModule:Public Member Functions | |
| virtual TSharedPtr< IVoiceCapture > | CreateVoiceCapture (const FString &DeviceName, int32 SampleRate=UVOIPStatics::GetVoiceSampleRate(), int32 NumChannels=UVOIPStatics::GetVoiceNumChannels()) |
| virtual TSharedPtr< IVoiceEncoder > | CreateVoiceEncoder (int32 SampleRate=UVOIPStatics::GetVoiceSampleRate(), int32 NumChannels=UVOIPStatics::GetVoiceNumChannels(), EAudioEncodeHint EncodeHint=UVOIPStatics::GetAudioEncodingHint()) |
| virtual TSharedPtr< IVoiceDecoder > | CreateVoiceDecoder (int32 SampleRate=UVOIPStatics::GetVoiceSampleRate(), int32 NumChannels=UVOIPStatics::GetVoiceNumChannels()) |
| virtual bool | DoesPlatformSupportVoiceCapture () |
| bool | IsVoiceEnabled () const |
Public Member Functions inherited from IModuleInterface | |
| virtual | ~IModuleInterface () |
| virtual void | PreUnloadCallback () |
| virtual void | PostLoadCallback () |
| virtual bool | SupportsDynamicReloading () |
| virtual bool | SupportsAutomaticShutdown () |
| virtual bool | IsGameModule () const |
Static Public Member Functions | |
| static FVoiceModule & | Get () |
| static bool | IsAvailable () |
Module for Voice capture/compression/decompression implementations
|
virtual |
Instantiates a new voice capture object
| DeviceName | name of device to capture audio data with, empty for default device |
| SampleRate | sampling rate of voice capture |
| NumChannels | number of channels to capture |
|
virtual |
Instantiates a new voice decoder object
| SampleRate | sampling rate of voice capture |
| NumChannels | number of channels to capture |
|
virtual |
Instantiates a new voice encoder object
| SampleRate | sampling rate of voice capture |
| NumChannels | number of channels to capture |
| EncodeHint | hint to describe type of audio quality desired |
|
virtual |
Checks to see if the current platform supports voice capture.
|
inlinestatic |
Singleton-like access to this module's interface. This is just for convenience! Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true.
|
inline |