aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Wu <85952307+robertwu1@users.noreply.github.com>2022-11-23 16:10:56 -0800
committerGitHub <noreply@github.com>2022-11-23 16:10:56 -0800
commitaafc8e7a266582e5822becd73761d37caf1bccb5 (patch)
tree76b7668f275c49df715780aa6c781392e9c64ed3
parent3bbb6cb7a3e53192ea18f8f0a512285e2baa932b (diff)
downloadoboe-aafc8e7a266582e5822becd73761d37caf1bccb5.tar.gz
Update Definitions.h (#1655)
-rw-r--r--include/oboe/Definitions.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/include/oboe/Definitions.h b/include/oboe/Definitions.h
index c24ea32c..be65c847 100644
--- a/include/oboe/Definitions.h
+++ b/include/oboe/Definitions.h
@@ -271,8 +271,17 @@ namespace oboe {
* This may be implemented using bilinear interpolation.
*/
Fastest,
+ /**
+ * Low quality conversion with 8 taps.
+ */
Low,
+ /**
+ * Medium quality conversion with 16 taps.
+ */
Medium,
+ /**
+ * High quality conversion with 32 taps.
+ */
High,
/**
* Highest quality conversion, which may be expensive in terms of CPU.
@@ -487,18 +496,15 @@ namespace oboe {
/**
* The channel mask of the audio stream. The underlying type is `uint32_t`.
- * Use of this enum is convenient
+ * Use of this enum is convenient.
+ *
+ * ChannelMask::Unspecified means this is not specified.
+ * The rest of the enums are channel position masks.
+ * Use the combinations of the channel position masks defined below instead of
+ * using those values directly.
*/
enum class ChannelMask : uint32_t { // aaudio_channel_mask_t
- /**
- * Audio channel mask is not specified.
- */
Unspecified = kUnspecified,
-
- /**
- * Channel position masks. Use the combinations of the channel position masks
- * defined below instead of using those values directly.
- */
FrontLeft = 1 << 0,
FrontRight = 1 << 1,
FrontCenter = 1 << 2,