aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinhui Zhou <zxinhui@google.com>2021-10-13 22:53:10 -0700
committerXinhui Zhou <zxinhui@google.com>2021-10-14 10:46:37 -0700
commitacd55999d4d53df19d2c61731f4acafd0bd5be8c (patch)
tree1526bc5e21ba5c036950bc9df479daf3d5255270
parent1a11a736e86eb084dac60b040ff0e6da73830c34 (diff)
downloadtinyalsa-acd55999d4d53df19d2c61731f4acafd0bd5be8c.tar.gz
Typo fix in error message: 'Bitrate' to 'Bitwidth'
Bug: 203024107 Signed-off-by: Xinhui Zhou <zxinhui@google.com> Change-Id: Ie214e664ef42691981fe501f36a736062d83352a
-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 0354df6..8928d92 100644
--- a/tinyplay.c
+++ b/tinyplay.c
@@ -201,7 +201,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");