Ignore:
Timestamp:
Dec 16, 2005, 12:18:54 AM (20 years ago)
Author:
vladest
Message:

Updated include files
Added readme and build tool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/include/sound/asound.h

    r35 r36  
    2424#define __SOUND_ASOUND_H
    2525
    26 #if defined(LINUX) || defined(__LINUX__) || defined(__linux__)
    27 #include <linux/ioctl.h>
    28 #include <endian.h>
    29 #if __BYTE_ORDER == __LITTLE_ENDIAN
    3026#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
    3728#ifndef __KERNEL__
    3829#include <sys/time.h>
     
    329320typedef int __bitwise snd_pcm_hw_param_t;
    330321#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 */
    332322#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 */
    334324#endif
     325#define SNDRV_PCM_HW_PARAM_FORMAT       ((__force snd_pcm_hw_param_t) 2) /* Format */
    335326#define SNDRV_PCM_HW_PARAM_SUBFORMAT    ((__force snd_pcm_hw_param_t) 3) /* Subformat */
    336327#define SNDRV_PCM_HW_PARAM_FIRST_MASK   SNDRV_PCM_HW_PARAM_ACCESS
Note: See TracChangeset for help on using the changeset viewer.