|
mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
|
Immutable-style value object holding one captured audio segment. More...
#include <recording.h>
Public Member Functions | |
| bool | isValid () const |
| Reports whether the recording contains usable audio payload. | |
Public Attributes | |
| QByteArray | pcmData |
| Raw PCM payload produced by Qt Multimedia. | |
| QAudioFormat | format |
| Device-selected format describing the PCM payload. | |
| double | durationSeconds = 0.0 |
| Observed recording duration in seconds. | |
Immutable-style value object holding one captured audio segment.
Definition at line 14 of file recording.h.
|
inline |
Reports whether the recording contains usable audio payload.
A recording is only useful once capture produced both payload bytes and a valid format description for later normalization and transcription.
true when both payload and format metadata are present. Definition at line 30 of file recording.h.
| double Recording::durationSeconds = 0.0 |
Observed recording duration in seconds.
Definition at line 20 of file recording.h.
| QAudioFormat Recording::format |
Device-selected format describing the PCM payload.
Definition at line 18 of file recording.h.
| QByteArray Recording::pcmData |
Raw PCM payload produced by Qt Multimedia.
Definition at line 16 of file recording.h.