commit | 18142aed005974bf6bee76ece8afaff7c89d0b50 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Tue Jul 28 12:44:37 2020 -0700 |
committer | Phil Burk <philburk@google.com> | Thu Jul 30 09:39:06 2020 -0700 |
tree | 9e2b532577c0164b0cd6291e86d1a1cd0c9957b0 | |
parent | 3fd4dee8960cd6bccbb21227d43dfef839d33875 [diff] |
aaudio: Update language to comply with Android's inclusive language guidance See https://source.android.com/setup/contribute/respectful-code for reference BUG: 161896447 Test: all changes are in comments, so just build Change-Id: I53a4a4c2ade03dcde940e6611f7e6b46d12ffe71 Change-Id: I90ebaea4731c6ca95f312b2176792d50dea862ad
diff --git a/media/libaaudio/examples/utils/dummy.cpp b/media/libaaudio/examples/utils/dummy.cpp deleted file mode 100644 index 8ef7e36..0000000 --- a/media/libaaudio/examples/utils/dummy.cpp +++ /dev/null
@@ -1,5 +0,0 @@ -/** - * Dummy file needed to get Android Studio to scan this folder. - */ - -int g_DoNotUseThisVariable = 0;
diff --git a/media/libaaudio/examples/utils/unused.cpp b/media/libaaudio/examples/utils/unused.cpp new file mode 100644 index 0000000..9a5205e --- /dev/null +++ b/media/libaaudio/examples/utils/unused.cpp
@@ -0,0 +1,5 @@ +/** + * Unused file required to get Android Studio to scan this folder. + */ + +int g_DoNotUseThisVariable = 0;
diff --git a/media/libaaudio/src/binding/SharedMemoryParcelable.h b/media/libaaudio/src/binding/SharedMemoryParcelable.h index 4ec38c5..3927f58 100644 --- a/media/libaaudio/src/binding/SharedMemoryParcelable.h +++ b/media/libaaudio/src/binding/SharedMemoryParcelable.h
@@ -26,7 +26,7 @@ namespace aaudio { -// Arbitrary limits for sanity checks. TODO remove after debugging. +// Arbitrary limits for range checks. #define MAX_SHARED_MEMORIES (32) #define MAX_MMAP_OFFSET_BYTES (32 * 1024 * 8) #define MAX_MMAP_SIZE_BYTES (32 * 1024 * 8)
diff --git a/media/libaaudio/src/flowgraph/AudioProcessorBase.h b/media/libaaudio/src/flowgraph/AudioProcessorBase.h index eda46ae..972932f 100644 --- a/media/libaaudio/src/flowgraph/AudioProcessorBase.h +++ b/media/libaaudio/src/flowgraph/AudioProcessorBase.h
@@ -267,7 +267,7 @@ AudioFloatInputPort input; /** - * Dummy processor. The work happens in the read() method. + * Do nothing. The work happens in the read() method. * * @param framePosition index of first frame to be processed * @param numFrames