From: Arun Raghavan Date: Tue, 30 Oct 2012 06:07:06 +0000 (+0530) Subject: tests: Fix a cpu-test debug message X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/03e9d3d0d7388d4b3151a59253fb8f746f00501e tests: Fix a cpu-test debug message We align at sample granularity and not byte granularity (which might violate arch alignment requirements). --- diff --git a/src/tests/cpu-test.c b/src/tests/cpu-test.c index 924807d0..8f6f936a 100644 --- a/src/tests/cpu-test.c +++ b/src/tests/cpu-test.c @@ -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);