aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/tinyplay.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/tinyplay.c b/utils/tinyplay.c
index 8b01a1d..c006acc 100644
--- a/utils/tinyplay.c
+++ b/utils/tinyplay.c
@@ -376,8 +376,10 @@ int sample_is_playable(const struct cmd *cmd)
can_play = check_param(params, PCM_PARAM_RATE, cmd->config.rate, "sample rate", "hz");
can_play &= check_param(params, PCM_PARAM_CHANNELS, cmd->config.channels, "sample", " channels");
can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, cmd->bits, "bits", " bits");
- can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, cmd->config.period_size, "period size", "");
- can_play &= check_param(params, PCM_PARAM_PERIODS, cmd->config.period_count, "period count", "");
+ can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, cmd->config.period_size, "period size",
+ " frames");
+ can_play &= check_param(params, PCM_PARAM_PERIODS, cmd->config.period_count, "period count",
+ " frames");
pcm_params_free(params);