1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 3 * Advanced Linux Sound Architecture - ALSA - Driver 4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>, 5 * Abramo Bagnara <abramo@alsa-project.org> 6 */ 7 #ifndef __SOUND_ASOUND_H 8 #define __SOUND_ASOUND_H 9 10 #include <linux/ioctl.h> 11 #include <linux/time.h> 12 #include <asm/byteorder.h> 13 14 #ifdef __LITTLE_ENDIAN 15 #define SNDRV_LITTLE_ENDIAN 16 #else 17 #ifdef __BIG_ENDIAN 18 #define SNDRV_BIG_ENDIAN 19 #else 20 #error "Unsupported endian..." 21 #endif 22 #endif 23 24 #include <uapi/sound/asound.h> 25 #endif /* __SOUND_ASOUND_H */ 26