Changeset 587 for GPL/trunk/alsa-kernel/include/sound/asound.h
- Timestamp:
- Jun 9, 2016, 10:38:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/include/sound/asound.h
r542 r587 42 42 #endif /* __KERNEL__ **/ 43 43 44 #ifdef TARGET_OS2 44 45 #ifndef __force 45 46 #define __force … … 50 51 #endif 51 52 52 #ifdef TARGET_OS253 53 #define SNDRV_PCM_VOL_FRONT_LEFT 0 54 54 #define SNDRV_PCM_VOL_FRONT_RIGHT 1 … … 323 323 typedef int snd_pcm_hw_param_t; 324 324 #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 326 329 #define SNDRV_PCM_HW_PARAM_RATE_MASK 1 /* Format */ 327 #endif328 330 #define SNDRV_PCM_HW_PARAM_FORMAT 2 /* Format */ 329 331 #define SNDRV_PCM_HW_PARAM_SUBFORMAT 3 /* Subformat */ 332 #endif 330 333 #define SNDRV_PCM_HW_PARAM_FIRST_MASK SNDRV_PCM_HW_PARAM_ACCESS 331 334 #define SNDRV_PCM_HW_PARAM_LAST_MASK SNDRV_PCM_HW_PARAM_SUBFORMAT … … 356 359 #define SNDRV_PCM_HW_PARAM_LAST_INTERVAL SNDRV_PCM_HW_PARAM_TICK_TIME 357 360 358 #define SNDRV_PCM_HW_PARAMS_NORESAMPLE 361 #define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1<<0) /* avoid rate resampling */ 359 362 360 363 struct snd_interval { … … 789 792 unsigned int device; /* device/client number */ 790 793 unsigned int subdevice; /* subdevice (substream) number */ 791 unsigned char name[44]; /* ASCII name of item */794 unsigned char name[44]; /* ASCII name of item */ 792 795 unsigned int index; /* index of item */ 793 796 }; … … 836 839 struct snd_ctl_elem_id id; /* W: element ID */ 837 840 unsigned int indirect: 1; /* W: indirect access - obsoleted */ 838 union {841 union { 839 842 union { 840 843 long value[128]; … … 854 857 } bytes; 855 858 struct snd_aes_iec958 iec958; 856 } value; /* RO */859 } value; /* RO */ 857 860 struct timespec tstamp; 858 unsigned char reserved[128-sizeof(struct timespec)];861 unsigned char reserved[128-sizeof(struct timespec)]; 859 862 }; 860 863
Note:
See TracChangeset
for help on using the changeset viewer.