[pulseaudio-commits] r2034 - /trunk/src/pulsecore/endianmacros.h

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Nov 8 17:30:28 PST 2007


Author: lennart
Date: Fri Nov  9 02:30:25 2007
New Revision: 2034

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2034&root=pulseaudio&view=rev
Log:
add a few missing macro definitions

Modified:
    trunk/src/pulsecore/endianmacros.h

Modified: trunk/src/pulsecore/endianmacros.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/endianmacros.h?rev=2034&root=pulseaudio&r1=2033&r2=2034&view=diff
==============================================================================
--- trunk/src/pulsecore/endianmacros.h (original)
+++ trunk/src/pulsecore/endianmacros.h Fri Nov  9 02:30:25 2007
@@ -63,8 +63,14 @@
  #define PA_UINT16_FROM_LE(x) PA_UINT16_SWAP(x)
  #define PA_UINT16_FROM_BE(x) ((uint16_t)(x))
 
+ #define PA_UINT16_TO_LE(x) PA_UINT16_SWAP(x)
+ #define PA_UINT16_TO_BE(x) ((uint16_t)(x))
+
  #define PA_INT32_FROM_LE(x) PA_INT32_SWAP(x)
  #define PA_INT32_FROM_BE(x) ((int32_t)(x))
+
+ #define PA_INT32_TO_LE(x) PA_INT32_SWAP(x)
+ #define PA_INT32_TO_BE(x) ((int32_t)(x))
 
  #define PA_UINT32_FROM_LE(x) PA_UINT32_SWAP(x)
  #define PA_UINT32_FROM_BE(x) ((uint32_t)(x))
@@ -81,8 +87,14 @@
  #define PA_UINT16_FROM_LE(x) ((uint16_t)(x))
  #define PA_UINT16_FROM_BE(x) PA_UINT16_SWAP(x)
 
+ #define PA_UINT16_TO_LE(x) ((uint16_t)(x))
+ #define PA_UINT16_TO_BE(x) PA_UINT16_SWAP(x)
+
  #define PA_INT32_FROM_LE(x) ((int32_t)(x))
  #define PA_INT32_FROM_BE(x) PA_INT32_SWAP(x)
+
+ #define PA_INT32_TO_LE(x) ((int32_t)(x))
+ #define PA_INT32_TO_BE(x) PA_INT32_SWAP(x)
 
  #define PA_UINT32_FROM_LE(x) ((uint32_t)(x))
  #define PA_UINT32_FROM_BE(x) PA_UINT32_SWAP(x)




More information about the pulseaudio-commits mailing list