summaryrefslogtreecommitdiff
path: root/debian/local
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local')
-rw-r--r--debian/local/soundcard.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/local/soundcard.h b/debian/local/soundcard.h
index db20a717..3c32819a 100644
--- a/debian/local/soundcard.h
+++ b/debian/local/soundcard.h
@@ -158,8 +158,10 @@ typedef struct seq_event_rec {
#if defined(__BYTE_ORDER)
# if __BYTE_ORDER == __BIG_ENDIAN
+# define _PATCHKEY(id) (0xfd00|id)
# define AFMT_S16_NE AFMT_S16_BE
# elif __BYTE_ORDER == __LITTLE_ENDIAN
+# define _PATCHKEY(id) ((id<<8)|0x00fd)
# define AFMT_S16_NE AFMT_S16_LE
# else
# error "could not determine byte order"