Ticket #191: uniaud_apis.diff

File uniaud_apis.diff, 859 bytes (added by KO Myung-Hun, 12 years ago)

Fix of the broken uniaud apis against trunk

  • alsa-kernel/core/pcm_lib.c

     
    298298        }
    299299
    300300        /* Do jiffies check only in xrun_debug mode */
    301 #ifdef CONFIG_SND_PCM_XRUN_DEBUG
    302301        if (!xrun_debug(substream, 4))
    303302                goto no_jiffies_check;
    304 #endif
    305303        /* Skip the jiffies check for hardwares with BATCH flag.
    306304         * Such hardware usually just increases the position at each IRQ,
    307305         * thus it can't give any strange position.
     
    414412                new_hw_ptr = hw_base + pos;
    415413        }
    416414        /* Do jiffies check only in xrun_debug mode */
    417 #ifdef CONFIG_SND_PCM_XRUN_DEBUG
    418415        if (!xrun_debug(substream, 4))
    419416                goto no_jiffies_check;
    420 #endif
    421417        if (delta < runtime->delay)
    422418                goto no_jiffies_check;
    423419        delta -= runtime->delay;