class

FAudioCapture

Module
Audio
Header
#include "Audio/FAudioCapture.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FAudioCapture()FAudioCaptureBoth defined out of line: the pimpl is incomplete here.
~FAudioCapture()~FAudioCapture
FAudioCapture(const FAudioCapture&) = deleteFAudioCapture

Public functions

ReturnsNameDescription
FAudioCapture&operator=
std::vector<FAudioCaptureDeviceInfo>EnumerateDevices
boolStartdeviceId empty selects the system default.
voidStop
boolIsCapturing
const std::string&GetDeviceId
uint32_tGetSampleRate
uint32_tGetChannels

Function details

FAudioCapture

C++
FAudioCapture()

Both defined out of line: the pimpl is incomplete here.

~FAudioCapture

C++
~FAudioCapture()

FAudioCapture

C++
FAudioCapture(const FAudioCapture&) = delete

operator=

C++
FAudioCapture& operator=(const FAudioCapture&) = delete

EnumerateDevices

C++
static std::vector<FAudioCaptureDeviceInfo> EnumerateDevices()

Start

C++
bool Start(const std::string& deviceId, uint32_t sampleRate, uint32_t channels, uint32_t framesPerPeriod, FAudioSampleRing* sink)

deviceId empty selects the system default. sink must outlive the capture — it is written from the device thread.

Stop

C++
void Stop()

IsCapturing

C++
bool IsCapturing() const

GetDeviceId

C++
const std::string& GetDeviceId() const

GetSampleRate

C++
uint32_t GetSampleRate() const

GetChannels

C++
uint32_t GetChannels() const
Generated from Audio/FAudioCapture.h via audio.json · Oct 26, 2026Version 1.0.0