Ticket #191: uniaud_apis.diff
File uniaud_apis.diff, 859 bytes (added by , 13 years ago) |
---|
-
alsa-kernel/core/pcm_lib.c
298 298 } 299 299 300 300 /* Do jiffies check only in xrun_debug mode */ 301 #ifdef CONFIG_SND_PCM_XRUN_DEBUG302 301 if (!xrun_debug(substream, 4)) 303 302 goto no_jiffies_check; 304 #endif305 303 /* Skip the jiffies check for hardwares with BATCH flag. 306 304 * Such hardware usually just increases the position at each IRQ, 307 305 * thus it can't give any strange position. … … 414 412 new_hw_ptr = hw_base + pos; 415 413 } 416 414 /* Do jiffies check only in xrun_debug mode */ 417 #ifdef CONFIG_SND_PCM_XRUN_DEBUG418 415 if (!xrun_debug(substream, 4)) 419 416 goto no_jiffies_check; 420 #endif421 417 if (delta < runtime->delay) 422 418 goto no_jiffies_check; 423 419 delta -= runtime->delay;