]> code.delx.au - pulseaudio/commitdiff
tests: Fix a cpu-test debug message
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 30 Oct 2012 06:07:06 +0000 (11:37 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 30 Oct 2012 09:30:45 +0000 (15:00 +0530)
We align at sample granularity and not byte granularity (which might
violate arch alignment requirements).

src/tests/cpu-test.c

index 924807d01ee94faa69465cdef054aa1d94948751..8f6f936a4969f10d2035ce5310de56dd969bf0e6 100644 (file)
@@ -110,7 +110,7 @@ static void run_volume_test(pa_do_volume_func_t func, pa_do_volume_func_t orig_f
     }
 
     if (perf) {
-        pa_log_debug("Testing svolume %dch performance with %d byte alignment", channels, align);
+        pa_log_debug("Testing svolume %dch performance with %d sample alignment", channels, align);
 
         PA_CPU_TEST_RUN_START("func", TIMES, TIMES2) {
             memcpy(samples, samples_orig, size);
@@ -285,7 +285,7 @@ static void run_conv_test_float_to_s16(pa_convert_func_t func, pa_convert_func_t
     }
 
     if (perf) {
-        pa_log_debug("Testing sconv performance with %d byte alignment", align);
+        pa_log_debug("Testing sconv performance with %d sample alignment", align);
 
         PA_CPU_TEST_RUN_START("func", TIMES, TIMES2) {
             func(nsamples, floats, samples);
@@ -331,7 +331,7 @@ static void run_conv_test_s16_to_float(pa_convert_func_t func, pa_convert_func_t
     }
 
     if (perf) {
-        pa_log_debug("Testing sconv performance with %d byte alignment", align);
+        pa_log_debug("Testing sconv performance with %d sample alignment", align);
 
         PA_CPU_TEST_RUN_START("func", TIMES, TIMES2) {
             func(nsamples, samples, floats);