From 961fb4466a9396a11f1a9a6e7d4193409b8949d6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 30 Jun 2004 00:00:52 +0000 Subject: latency esound volume changing git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@43 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/esound-spec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/esound-spec.h') diff --git a/src/esound-spec.h b/src/esound-spec.h index 1c2dc022..f7a4d3db 100644 --- a/src/esound-spec.h +++ b/src/esound-spec.h @@ -181,6 +181,7 @@ typedef int esd_client_state_t; /* switch endian order for cross platform playing */ #define swap_endian_32(x) ((x >> 24) | ((x >> 8) & 0xFF00) | (((x & 0xFF00) << 8)) | (x << 24)) +#define maybe_swap_endian_32(c,x) ((c) ? swap_endian_32(x) : x) /* the endian key is transferred in binary, if it's read into int, */ /* and matches ESD_ENDIAN_KEY (ENDN), then the endianness of the */ -- cgit