Changeset 542 for GPL/trunk/alsa-kernel
- Timestamp:
- Sep 22, 2010, 8:52:19 PM (15 years ago)
- Location:
- GPL/trunk/alsa-kernel
- Files:
-
- 2 edited
-
core/pcm_lib.c (modified) (4 diffs)
-
include/sound/asound.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/core/pcm_lib.c
r479 r542 302 302 if (!xrun_debug(substream, 4)) 303 303 goto no_jiffies_check; 304 #endif305 304 /* Skip the jiffies check for hardwares with BATCH flag. 306 305 * Such hardware usually just increases the position at each IRQ, … … 336 335 } 337 336 no_jiffies_check: 337 #endif 338 338 if (delta > runtime->period_size + runtime->period_size / 2) { 339 339 hw_ptr_error(substream, … … 418 418 if (!xrun_debug(substream, 4)) 419 419 goto no_jiffies_check; 420 #endif421 420 if (delta < runtime->delay) 422 421 goto no_jiffies_check; … … 432 431 } 433 432 no_jiffies_check: 433 #endif 434 434 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && 435 435 runtime->silence_size > 0) -
GPL/trunk/alsa-kernel/include/sound/asound.h
r464 r542 374 374 struct snd_pcm_hw_params { 375 375 unsigned int flags; 376 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - 376 struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - 377 377 SNDRV_PCM_HW_PARAM_FIRST_MASK + 1]; 378 378 struct snd_mask mres[5]; /* reserved masks */ … … 772 772 #define SNDRV_CTL_ELEM_ACCESS_LOCK (1<<9) /* write lock */ 773 773 #define SNDRV_CTL_ELEM_ACCESS_OWNER (1<<10) /* write lock owner */ 774 #define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1<<28) /* kernel use a TLV callback */ 774 #define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1<<28) /* kernel use a TLV callback */ 775 775 #define SNDRV_CTL_ELEM_ACCESS_USER (1<<29) /* user space element */ 776 776 /* bits 30 and 31 are obsoleted (for indirect access) */ … … 789 789 unsigned int device; /* device/client number */ 790 790 unsigned int subdevice; /* subdevice (substream) number */ 791 unsigned char name[44]; /* ASCII name of item */791 unsigned char name[44]; /* ASCII name of item */ 792 792 unsigned int index; /* index of item */ 793 793 }; … … 836 836 struct snd_ctl_elem_id id; /* W: element ID */ 837 837 unsigned int indirect: 1; /* W: indirect access - obsoleted */ 838 union {838 union { 839 839 union { 840 840 long value[128]; … … 854 854 } bytes; 855 855 struct snd_aes_iec958 iec958; 856 } value; /* RO */856 } value; /* RO */ 857 857 struct timespec tstamp; 858 unsigned char reserved[128-sizeof(struct timespec)];858 unsigned char reserved[128-sizeof(struct timespec)]; 859 859 }; 860 860
Note:
See TracChangeset
for help on using the changeset viewer.
