![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "VoiceCodecOpus.h"#include "Voice.h"#include <CoreAudio/CoreAudio.h>#include <AudioToolbox/AudioToolbox.h>#include <AudioUnit/AudioUnit.h>Classes | |
| class | FVoiceCaptureCoreAudio |
Macros | |
| #define | MAX_UNCOMPRESSED_VOICE_BUFFER_SIZE 30 * 1024 |
| #define | NUM_HARDWARE_BUFFERS_PER_UNCOMPRESSED 6 |
Functions | |
| bool | InitVoiceCapture () |
| void | ShutdownVoiceCapture () |
| IVoiceCapture * | CreateVoiceCaptureObject (const FString &DeviceName, int32 SampleRate, int32 NumChannels) |
| #define MAX_UNCOMPRESSED_VOICE_BUFFER_SIZE 30 * 1024 |
Maximum buffer size for storing raw uncompressed audio from the system
| #define NUM_HARDWARE_BUFFERS_PER_UNCOMPRESSED 6 |
Number of hardware buffers per uncompressed CoreAudio buffer
| IVoiceCapture * CreateVoiceCaptureObject | ( | const FString & | DeviceName, |
| int32 | SampleRate, | ||
| int32 | NumChannels | ||
| ) |
| bool InitVoiceCapture | ( | ) |
| void ShutdownVoiceCapture | ( | ) |