COIL: Remove the use of native
Replace with more descriptive terms in the comments.
BUG=b:167649426
TEST=None
Change-Id: Ief277b8541c77716648edf1d2c4013a68af95f6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/audiotest/+/2821230
Tested-by: En-Shuo Hsu <enshuo@chromium.org>
Reviewed-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Commit-Queue: En-Shuo Hsu <enshuo@chromium.org>
diff --git a/src/loopback_latency.c b/src/loopback_latency.c
index 0898bae..34f28a3 100644
--- a/src/loopback_latency.c
+++ b/src/loopback_latency.c
@@ -114,7 +114,7 @@
if (to_unsigned)
res ^= 1U << (format_bits - 1);
for (chn = 0; chn < channels; chn++) {
- /* Generate data in native endian format */
+ /* Generate data based on endian format */
if (big_endian) {
for (i = 0; i < bps; i++)
*(samples[chn] + phys_bps - 1 - i) = (res >> i * 8) & 0xff;
diff --git a/src/test_tones.cc b/src/test_tones.cc
index 72a0028..7490683 100644
--- a/src/test_tones.cc
+++ b/src/test_tones.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Simple playback test drivers. Plays test tones using the native Alsa
+// Simple playback test drivers. Plays test tones using the Alsa defined
// API allowing for configuration of volume, frequency, channels of output,
// etc. See the output of PrintUsage() for instructions on how to use.