17 #ifndef OBOE_DEFINITIONS_H 18 #define OBOE_DEFINITIONS_H 22 #include <type_traits> 134 ErrorDisconnected = -899,
135 ErrorIllegalArgument = -898,
136 ErrorInternal = -896,
137 ErrorInvalidState = -895,
138 ErrorInvalidHandle = -892,
139 ErrorUnimplemented = -890,
140 ErrorUnavailable = -889,
141 ErrorNoFreeHandles = -888,
142 ErrorNoMemory = -887,
145 ErrorWouldBlock = -884,
146 ErrorInvalidFormat = -883,
147 ErrorOutOfRange = -882,
148 ErrorNoService = -881,
149 ErrorInvalidRate = -880,
501 static bool areWorkaroundsEnabled() {
502 return mWorkaroundsEnabled;
511 mWorkaroundsEnabled = enabled;
515 static bool mWorkaroundsEnabled;
519 #endif // OBOE_DEFINITIONS_H constexpr int64_t kNanosPerMicrosecond
Definition: Definitions.h:38
Definition: Definitions.h:498
Definition: Definitions.h:429
Definition: Definitions.h:386
Definition: Definitions.h:420
constexpr int64_t kNanosPerSecond
Definition: Definitions.h:53
PerformanceMode
Definition: Definitions.h:192
SessionId
Definition: Definitions.h:414
Definition: Definitions.h:354
Definition: Definitions.h:376
DataCallbackResult
Definition: Definitions.h:119
static void setWorkaroundsEnabled(bool enabled)
Definition: Definitions.h:510
AudioApi
Definition: Definitions.h:213
ContentType
Definition: Definitions.h:339
Definition: Definitions.h:477
Definition: Definitions.h:493
Usage
Definition: Definitions.h:263
Definition: Definitions.h:456
Definition: Definitions.h:391
static int32_t FramesPerBurst
Definition: Definitions.h:484
Definition: Definitions.h:381
constexpr int64_t kNanosPerMillisecond
Definition: Definitions.h:43
Definition: Definitions.h:398
Definition: Definitions.h:451
AudioFormat
Definition: Definitions.h:94
Definition: Definitions.h:360
ChannelCount
Definition: Definitions.h:442
Result
Definition: Definitions.h:131
constexpr int32_t kUnspecified
Definition: Definitions.h:32
Definition: AudioStream.h:31
constexpr int64_t kMillisPerSecond
Definition: Definitions.h:48
SampleRateConversionQuality
Definition: Definitions.h:235
Definition: Definitions.h:446
Direction
Definition: Definitions.h:78
SharingMode
Definition: Definitions.h:167
InputPreset
Definition: Definitions.h:372
StreamState
Definition: Definitions.h:58
static int32_t SampleRate
Definition: Definitions.h:482
static int32_t ChannelCount
Definition: Definitions.h:486
Definition: Definitions.h:405
Definition: Definitions.h:349
Definition: Definitions.h:344