libpromeki 1.0.0-alpha
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
enums_transcription.h
Go to the documentation of this file.
1
10#pragma once
11
12
13#include <promeki/config.h>
14#if PROMEKI_ENABLE_CORE
15#include <promeki/namespace.h>
16#include <promeki/enum.h>
17
18PROMEKI_NAMESPACE_BEGIN
19
52class TranscriptionMode : public TypedEnum<TranscriptionMode> {
53 public:
54 PROMEKI_REGISTER_ENUM_TYPE_DISPLAY("TranscriptionMode", "Transcription Mode", 0,
55 {"Streaming", 0, "Streaming (Interim Cues)"},
56 {"Batch", 1, "Batch (Final Only)"}); // default: Streaming
57
58 using TypedEnum<TranscriptionMode>::TypedEnum;
59
60 static const TranscriptionMode Streaming;
61 static const TranscriptionMode Batch;
62};
63
64inline const TranscriptionMode TranscriptionMode::Streaming{0};
65inline const TranscriptionMode TranscriptionMode::Batch{1};
66
93class TranscriptionChannelMode : public TypedEnum<TranscriptionChannelMode> {
94 public:
95 PROMEKI_REGISTER_ENUM_TYPE_DISPLAY("TranscriptionChannelMode", "Transcription Channel Mode", 0,
96 {"ChannelMap", 0, "Channel Map (By Role)"},
97 {"ChannelIndex", 1, "Channel Index (Single Channel)"},
98 {"DownmixAll", 2, "Downmix All to Mono"}); // default: ChannelMap
99
100 using TypedEnum<TranscriptionChannelMode>::TypedEnum;
101
102 static const TranscriptionChannelMode ChannelMap;
103 static const TranscriptionChannelMode ChannelIndex;
104 static const TranscriptionChannelMode DownmixAll;
105};
106
107inline const TranscriptionChannelMode TranscriptionChannelMode::ChannelMap{0};
108inline const TranscriptionChannelMode TranscriptionChannelMode::ChannelIndex{1};
109inline const TranscriptionChannelMode TranscriptionChannelMode::DownmixAll{2};
110
113PROMEKI_NAMESPACE_END
114
115#endif // PROMEKI_ENABLE_CORE