diff options
author | Xinhui Zhou <zxinhui@google.com> | 2021-10-13 22:53:10 -0700 |
---|---|---|
committer | Xinhui Zhou <zxinhui@google.com> | 2021-10-14 10:46:37 -0700 |
commit | acd55999d4d53df19d2c61731f4acafd0bd5be8c (patch) | |
tree | 1526bc5e21ba5c036950bc9df479daf3d5255270 | |
parent | 1a11a736e86eb084dac60b040ff0e6da73830c34 (diff) | |
download | tinyalsa-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.c | 2 | ||||
-rw-r--r-- | tinyplay.c | 2 |
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"); @@ -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"); |