17#ifndef OBOE_DEFINITIONS_H
18#define OBOE_DEFINITIONS_H
175 ErrorDisconnected = -899,
176 ErrorIllegalArgument = -898,
177 ErrorInternal = -896,
178 ErrorInvalidState = -895,
179 ErrorInvalidHandle = -892,
180 ErrorUnimplemented = -890,
181 ErrorUnavailable = -889,
182 ErrorNoFreeHandles = -888,
183 ErrorNoMemory = -887,
186 ErrorWouldBlock = -884,
187 ErrorInvalidFormat = -883,
188 ErrorOutOfRange = -882,
189 ErrorNoService = -881,
190 ErrorInvalidRate = -880,
530 FrontCenter = 1 << 2,
531 LowFrequency = 1 << 3,
534 FrontLeftOfCenter = 1 << 6,
535 FrontRightOfCenter = 1 << 7,
540 TopFrontLeft = 1 << 12,
541 TopFrontCenter = 1 << 13,
542 TopFrontRight = 1 << 14,
543 TopBackLeft = 1 << 15,
544 TopBackCenter = 1 << 16,
545 TopBackRight = 1 << 17,
546 TopSideLeft = 1 << 18,
547 TopSideRight = 1 << 19,
548 BottomFrontLeft = 1 << 20,
549 BottomFrontCenter = 1 << 21,
550 BottomFrontRight = 1 << 22,
551 LowFrequency2 = 1 << 23,
552 FrontWideLeft = 1 << 24,
553 FrontWideRight = 1 << 25,
879 static bool areWorkaroundsEnabled() {
880 return mWorkaroundsEnabled;
893 static bool mWorkaroundsEnabled;
Definition Definitions.h:855
static int32_t SampleRate
Definition Definitions.h:860
static int32_t FramesPerBurst
Definition Definitions.h:862
static int32_t ChannelCount
Definition Definitions.h:864
Definition Definitions.h:876
static void setWorkaroundsEnabled(bool enabled)
Definition Definitions.h:888
Definition ResultWithValue.h:47
Definition AudioClock.h:24
Usage
Definition Definitions.h:316
@ VoiceCommunicationSignalling
@ AssistanceAccessibility
@ AssistanceNavigationGuidance
PerformanceMode
Definition Definitions.h:233
ContentType
Definition Definitions.h:392
@ Sonification
Definition Definitions.h:413
@ Speech
Definition Definitions.h:397
@ Movie
Definition Definitions.h:407
@ Music
Definition Definitions.h:402
InputPreset
Definition Definitions.h:425
@ Generic
Definition Definitions.h:429
@ VoiceCommunication
Definition Definitions.h:444
@ Camcorder
Definition Definitions.h:434
@ Unprocessed
Definition Definitions.h:451
@ VoicePerformance
Definition Definitions.h:458
@ VoiceRecognition
Definition Definitions.h:439
Result
Definition Definitions.h:172
PrivacySensitiveMode
Definition Definitions.h:775
ChannelCount
Definition Definitions.h:495
@ Stereo
Definition Definitions.h:509
@ Mono
Definition Definitions.h:504
@ Unspecified
Definition Definitions.h:499
SessionId
Definition Definitions.h:467
@ None
Definition Definitions.h:473
@ Allocate
Definition Definitions.h:482
constexpr int64_t kNanosPerSecond
Definition Definitions.h:52
AllowedCapturePolicy
Definition Definitions.h:802
SampleRateConversionQuality
Definition Definitions.h:279
constexpr int64_t kNanosPerMillisecond
Definition Definitions.h:42
SharingMode
Definition Definitions.h:208
StreamState
Definition Definitions.h:57
AudioApi
Definition Definitions.h:254
AudioFormat
Definition Definitions.h:93
constexpr int32_t kUnspecified
Definition Definitions.h:31
ChannelMask
Definition Definitions.h:526
constexpr int64_t kMillisPerSecond
Definition Definitions.h:47
constexpr int64_t kNanosPerMicrosecond
Definition Definitions.h:37
Direction
Definition Definitions.h:77
DataCallbackResult
Definition Definitions.h:160
SpatializationBehavior
Definition Definitions.h:748
Definition Definitions.h:871