[pulseaudio-commits] src/modules

Peter Meerwald pmeerw at kemper.freedesktop.org
Mon Nov 17 04:15:18 PST 2014


 src/modules/alsa/alsa-util.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit a058a4b7a325a2d628fca1abdc381f979d02f183
Author: Peter Meerwald <pmeerw at pmeerw.net>
Date:   Fri Nov 14 16:12:12 2014 +0100

    alsa-util: Finish description of pa_alsa_set_hw_params()
    
    ... which stops mid-sentence and logging cleanup
    
    Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>

diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c
index 0563c00..4131cff 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
 



More information about the pulseaudio-commits mailing list