summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2014-11-14 16:12:12 +0100
committerPeter Meerwald <p.meerwald@bct-electronic.com>2014-11-17 13:12:59 +0100
commita058a4b7a325a2d628fca1abdc381f979d02f183 (patch)
tree5a3bcf20f145236d78d0f5652ad5b34df0c6e365
parent3978bbb13a88d1dd6a7d6a467c20b83492104ad4 (diff)
alsa-util: Finish description of pa_alsa_set_hw_params()
... which stops mid-sentence and logging cleanup Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
-rw-r--r--src/modules/alsa/alsa-util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c
index 0563c00f7..4131cff49 100644
--- a/src/modules/alsa/alsa-util.c
+++ b/src/modules/alsa/alsa-util.c
@@ -184,7 +184,8 @@ static int set_buffer_size(snd_pcm_t *pcm_handle, snd_pcm_hw_params_t *hwparams,
}
/* Set the hardware parameters of the given ALSA device. Returns the
- * selected fragment settings in *buffer_size and *period_size. If tsched mode can be enabled */
+ * selected fragment settings in *buffer_size and *period_size. Determine
+ * whether mmap and tsched mode can be enabled. */
int pa_alsa_set_hw_params(
snd_pcm_t *pcm_handle,
pa_sample_spec *ss,
@@ -263,7 +264,7 @@ int pa_alsa_set_hw_params(
else
pa_log_info("Trying to disable ALSA period wakeups, using timers only");
} else
- pa_log_info("cannot disable ALSA period wakeups");
+ pa_log_info("Cannot disable ALSA period wakeups");
}
#endif