[pulseaudio-discuss] [PATCH] lfe-filter-test: Use S16NE format

Alexander E. Patrakov patrakov at gmail.com
Tue May 26 00:03:26 PDT 2015


26.05.2015 11:49, David Henningsson wrote:
> ...otherwise this code will fail on big-endian architectures.

ACK for this obvious fix.

>
> Cc: Hui Wang <hui.wang at canonical.com>
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> ---
>   src/tests/lfe-filter-test.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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));
>


-- 
Alexander E. Patrakov


More information about the pulseaudio-discuss mailing list