summaryrefslogtreecommitdiffstats
path: root/src/esound-spec.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-06-30 00:00:52 +0000
committerLennart Poettering <lennart@poettering.net>2004-06-30 00:00:52 +0000
commit961fb4466a9396a11f1a9a6e7d4193409b8949d6 (patch)
treef715643d1c226b1063be40ed0f78a4511b26c67d /src/esound-spec.h
parentd571be6f5109ff5b256e4c14f391c916264f0a8e (diff)
latency
esound volume changing git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@43 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/esound-spec.h')
-rw-r--r--src/esound-spec.h1
1 files changed, 1 insertions, 0 deletions
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 */