Documentation Index
Fetch the complete documentation index at: https://docs.liv.tv/llms.txt
Use this file to discover all available pages before exploring further.
Module: LCKAudio | Version: 1.0 | Platforms: All
Overview
The LCK audio system provides modular audio capture through a plugin architecture. Audio sources register as modular features and feed PCM data into a mixer that produces a final stereo output for the encoder. This page covers the three core API types. For the full interface specification, see ILCKAudioSource Interface.ELCKAudioChannel
Enum defining audio channel types. Used as a bitmask to declare source capabilities and request capture channels.| Value | Bit | Description |
|---|---|---|
None | 0 | No channels |
Game | 0x1 | Game audio output |
Microphone | 0x2 | Microphone input |
VoiceChat | 0x4 | Voice chat audio (send or receive) |
FLCKAudioMix
Combines multipleILCKAudioSource instances into a single stereo output for the encoder.
| Method | Purpose |
|---|---|
SetTargetSampleRate(Hz) | Set the target sample rate for resampling (typically 48000) |
AddSource(Source) | Register an audio source with the mixer (takes TWeakPtr) |
StereoMix(Channels) | Return interleaved stereo PCM for the requested channel mask |
StartCapture() | Begin capture on all registered sources |
StopCapture() | Stop capture on all registered sources |
EnsureMicrophoneCapture() | Start microphone capture if a mic source exists but is idle |
GetVolume() | Get the current mixed volume level (0.0-1.0) |
Usage Example
ILCKAudioSource
The base interface all audio plugins implement. See the full specification at ILCKAudioSource Interface.| Method | Purpose |
|---|---|
StartCapture() | Begin audio capture |
StopCapture() | Stop audio capture |
GetVolume() | Current audio level (0.0-1.0) |
GetSourceName() | Source identifier string |
GetSupportedChannels() | Channel capability bitmask |
Audio Source Plugins
| Plugin | Module | Game | Mic | VoiceChat | Platform |
|---|---|---|---|---|---|
| Unreal Audio | LCKUnrealAudio | Yes | Yes | No | All |
| FMOD | LCKFMOD | Yes | No | No | All |
| Wwise | LCKWwise | Yes | No | No | Win64, Android |
| Oboe (Android) | LCKOboe | No | Yes | No | Android |
| Vivox | LCKVivox | Yes | Yes | No | All |
Related
ILCKAudioSource Interface
Full interface specification, delegate signature, and custom source guide
Types & Structs
Audio channel structs and configuration types