[pulseaudio-commits] src/tests

David Henningsson diwic at kemper.freedesktop.org
Mon Jun 1 02:05:51 PDT 2015


 src/tests/lfe-filter-test.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 733e4bce5b7f7924445f359a14d67e4a13cd57b4
Author: David Henningsson <david.henningsson at canonical.com>
Date:   Tue May 26 08:47:46 2015 +0200

    lfe-filter-test: Use S16NE format
    
    ...otherwise this code will fail on big-endian architectures.
    
    Cc: Hui Wang <hui.wang at canonical.com>
    Signed-off-by: David Henningsson <david.henningsson at canonical.com>

diff --git a/src/tests/lfe-filter-test.c b/src/tests/lfe-filter-test.c
index ea8108c..389a2b9 100644
--- a/src/tests/lfe-filter-test.c
+++ b/src/tests/lfe-filter-test.c
@@ -133,7 +133,7 @@ START_TEST (lfe_filter_test) {
 
     a.channels = 1;
     a.rate = 44100;
-    a.format = PA_SAMPLE_S16LE;
+    a.format = PA_SAMPLE_S16NE;
 
     lft.ss = &a;
     pa_assert_se(lft.pool = pa_mempool_new(false, 0));



More information about the pulseaudio-commits mailing list