Ignore:
Timestamp:
Jun 9, 2016, 10:38:13 PM (9 years ago)
Author:
David Azarewicz
Message:

Rearrange directory structure
rework makefiles
cleanup files

File:
1 edited

Legend:

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

    r542 r587  
    4242#endif /* __KERNEL__ **/
    4343
     44#ifdef TARGET_OS2
    4445#ifndef __force
    4546#define __force
     
    5051#endif
    5152
    52 #ifdef TARGET_OS2
    5353#define SNDRV_PCM_VOL_FRONT_LEFT        0
    5454#define SNDRV_PCM_VOL_FRONT_RIGHT       1
     
    323323typedef int snd_pcm_hw_param_t;
    324324#define SNDRV_PCM_HW_PARAM_ACCESS       0       /* Access type */
    325 #ifdef TARGET_OS2
     325#ifndef TARGET_OS2
     326#define SNDRV_PCM_HW_PARAM_FORMAT       1       /* Format */
     327#define SNDRV_PCM_HW_PARAM_SUBFORMAT    2       /* Subformat */
     328#else
    326329#define SNDRV_PCM_HW_PARAM_RATE_MASK    1 /* Format */
    327 #endif
    328330#define SNDRV_PCM_HW_PARAM_FORMAT       2       /* Format */
    329331#define SNDRV_PCM_HW_PARAM_SUBFORMAT    3       /* Subformat */
     332#endif
    330333#define SNDRV_PCM_HW_PARAM_FIRST_MASK   SNDRV_PCM_HW_PARAM_ACCESS
    331334#define SNDRV_PCM_HW_PARAM_LAST_MASK    SNDRV_PCM_HW_PARAM_SUBFORMAT
     
    356359#define SNDRV_PCM_HW_PARAM_LAST_INTERVAL        SNDRV_PCM_HW_PARAM_TICK_TIME
    357360
    358 #define SNDRV_PCM_HW_PARAMS_NORESAMPLE          (1<<0)  /* avoid rate resampling */
     361#define SNDRV_PCM_HW_PARAMS_NORESAMPLE  (1<<0)  /* avoid rate resampling */
    359362
    360363struct snd_interval {
     
    789792        unsigned int device;            /* device/client number */
    790793        unsigned int subdevice;         /* subdevice (substream) number */
    791     unsigned char name[44];             /* ASCII name of item */
     794        unsigned char name[44];         /* ASCII name of item */
    792795        unsigned int index;             /* index of item */
    793796};
     
    836839        struct snd_ctl_elem_id id;      /* W: element ID */
    837840        unsigned int indirect: 1;       /* W: indirect access - obsoleted */
    838     union {
     841        union {
    839842                union {
    840843                        long value[128];
     
    854857                } bytes;
    855858                struct snd_aes_iec958 iec958;
    856     } value;                /* RO */
     859        } value;                /* RO */
    857860        struct timespec tstamp;
    858     unsigned char reserved[128-sizeof(struct timespec)];
     861        unsigned char reserved[128-sizeof(struct timespec)];
    859862};
    860863
Note: See TracChangeset for help on using the changeset viewer.