Switch to unified view

a/src/alsadirect.cpp b/src/alsadirect.cpp
...
...
24
#if HAVE_BYTESWAP_H
24
#if HAVE_BYTESWAP_H
25
#include <byteswap.h>
25
#include <byteswap.h>
26
#define BSWAP16(X) bswap_16(X)
26
#define BSWAP16(X) bswap_16(X)
27
#else
27
#else
28
#define BSWAP16(X) ((((X) & 0xff) >> 8) | ((X) << 8))
28
#define BSWAP16(X) ((((X) & 0xff) >> 8) | ((X) << 8))
29
#endif
29
#else // Little endian -> 
30
#else // Little endian -> 
30
#define BSWAP16(X) (X)
31
#define BSWAP16(X) (X)
31
#endif
32
#endif
32
33
33
#include <iostream>
34
#include <iostream>