Changeset 36 for GPL/trunk/alsa-kernel/include/sound/asound.h
- Timestamp:
- Dec 16, 2005, 12:18:54 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/include/sound/asound.h
r35 r36 24 24 #define __SOUND_ASOUND_H 25 25 26 #if defined(LINUX) || defined(__LINUX__) || defined(__linux__)27 #include <linux/ioctl.h>28 #include <endian.h>29 #if __BYTE_ORDER == __LITTLE_ENDIAN30 26 #define SNDRV_LITTLE_ENDIAN 31 #elif __BYTE_ORDER == __BIG_ENDIAN 32 #define SNDRV_BIG_ENDIAN 33 #else 34 #error "Unsupported endian..." 35 #endif 36 #endif 27 37 28 #ifndef __KERNEL__ 38 29 #include <sys/time.h> … … 329 320 typedef int __bitwise snd_pcm_hw_param_t; 330 321 #define SNDRV_PCM_HW_PARAM_ACCESS ((__force snd_pcm_hw_param_t) 0) /* Access type */ 331 #define SNDRV_PCM_HW_PARAM_FORMAT ((__force snd_pcm_hw_param_t) 1) /* Format */332 322 #ifdef TARGET_OS2 333 #define SNDRV_PCM_HW_PARAM_RATE_MASK ((__force snd_pcm_hw_param_t) 2) /* Format */323 #define SNDRV_PCM_HW_PARAM_RATE_MASK ((__force snd_pcm_hw_param_t) 1) /* Format */ 334 324 #endif 325 #define SNDRV_PCM_HW_PARAM_FORMAT ((__force snd_pcm_hw_param_t) 2) /* Format */ 335 326 #define SNDRV_PCM_HW_PARAM_SUBFORMAT ((__force snd_pcm_hw_param_t) 3) /* Subformat */ 336 327 #define SNDRV_PCM_HW_PARAM_FIRST_MASK SNDRV_PCM_HW_PARAM_ACCESS
Note:
See TracChangeset
for help on using the changeset viewer.