aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2022-08-16 19:08:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-08-16 19:08:17 +0000
commit18c97f16a4c7ff77415a33354101a58616e5f4ab (patch)
tree5557e016d62763e85d0d2ec9e6a89af9942dc40c
parent15d6c2f41edd5be8fe7a9a7f8af47440af5a4f21 (diff)
parentf5c232dee8f9c9059f39684a4b91fb017d04f90c (diff)
downloadtinyalsa-18c97f16a4c7ff77415a33354101a58616e5f4ab.tar.gz
Merge "DO NOT MERGE - Merge Android 13"main-16k
-rw-r--r--tinyhostless.c2
-rw-r--r--tinyplay.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tinyhostless.c b/tinyhostless.c
index 451c4f2..50c26fc 100644
--- a/tinyhostless.c
+++ b/tinyhostless.c
@@ -209,7 +209,7 @@ static int check_params(unsigned int card, unsigned int device, unsigned int dir
can_play = check_param(params, PCM_PARAM_RATE, config->rate, "Sample rate", "Hz");
can_play &= check_param(params, PCM_PARAM_CHANNELS, config->channels, "Sample", " channels");
- can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitrate", " bits");
+ can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitwidth", " bits");
can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, config->period_size, "Period size", " frames");
can_play &= check_param(params, PCM_PARAM_PERIODS, config->period_count, "Period count", " periods");
diff --git a/tinyplay.c b/tinyplay.c
index 1cd74e7..c5bb71f 100644
--- a/tinyplay.c
+++ b/tinyplay.c
@@ -202,7 +202,7 @@ int sample_is_playable(unsigned int card, unsigned int device, unsigned int chan
can_play = check_param(params, PCM_PARAM_RATE, rate, "Sample rate", "Hz");
can_play &= check_param(params, PCM_PARAM_CHANNELS, channels, "Sample", " channels");
- can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitrate", " bits");
+ can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitwidth", " bits");
can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, period_size, "Period size", " frames");
can_play &= check_param(params, PCM_PARAM_PERIODS, period_count, "Period count", " periods");