class
FAudioCapture
- Module
- Audio
- Header
#include "Audio/FAudioCapture.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
FAudioCapture() | FAudioCapture | Both defined out of line: the pimpl is incomplete here. |
~FAudioCapture() | ~FAudioCapture | |
FAudioCapture(const FAudioCapture&) = delete | FAudioCapture |
Public functions
| Returns | Name | Description |
|---|---|---|
FAudioCapture& | operator= | |
std::vector<FAudioCaptureDeviceInfo> | EnumerateDevices | |
bool | Start | deviceId empty selects the system default. |
void | Stop | |
bool | IsCapturing | |
const std::string& | GetDeviceId | |
uint32_t | GetSampleRate | |
uint32_t | GetChannels |
Function details
FAudioCapture
C++
FAudioCapture()Both defined out of line: the pimpl is incomplete here.
~FAudioCapture
C++
~FAudioCapture()FAudioCapture
C++
FAudioCapture(const FAudioCapture&) = deleteoperator=
C++
FAudioCapture& operator=(const FAudioCapture&) = deleteEnumerateDevices
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() constGetDeviceId
C++
const std::string& GetDeviceId() constGetSampleRate
C++
uint32_t GetSampleRate() constGetChannels
C++
uint32_t GetChannels() constGenerated from Audio/FAudioCapture.h via audio.json · Oct 26, 2026Version 1.0.0