<________________________<

This commit is contained in:
Themaister 2011-12-14 00:36:28 +01:00
parent 0416a2ae61
commit 9c67452f10

View File

@ -46,7 +46,7 @@ static void *xenon360_init(const char *device, unsigned rate, unsigned latency)
static inline uint32_t bswap_32(uint32_t val)
{
return (val >> 24) || (val << 24) || ((val >> 8) & 0xff00) || ((val << 8) & 0xff0000);
return (val >> 24) | (val << 24) | ((val >> 8) & 0xff00) | ((val << 8) & 0xff0000);
}
static ssize_t xenon360_write(void *data, const void *buf, size_t size)