This project is mirrored from Pull mirroring updated .
  1. 07 Jan, 2010 1 commit
  2. 25 Aug, 2009 1 commit
  3. 20 Aug, 2009 1 commit
    • Takashi Iwai's avatar
      ALSA: pcm - Fix drain behavior in non-blocking mode · 4cdc115f
      Takashi Iwai authored
      The current PCM core has the following problems regarding PCM draining
      in non-blocking mode:
      - the current f_flags isn't checked in snd_pcm_drain(), thus changing
        the mode dynamically via snd_pcm_nonblock() after open doesn't work.
      - calling drain in non-blocking mode just return -EAGAIN error, but
        doesn't provide any way to sync with draining.
      This patch fixes these issues.
      - check file->f_flags in snd_pcm_drain() properly
      - when O_NONBLOCK is set, PCM core sets the stream(s) to DRAIN state
        but quits ioctl immediately without waiting the whole drain; the
        caller can sync the drain manually via poll()
      Signed-off-by: default avatarTakashi Iwai <>
  4. 23 Jul, 2009 3 commits
  5. 22 Jul, 2009 1 commit
    • Takashi Iwai's avatar
      ALSA: pcm - Fix regressions with VMware · 79452f0a
      Takashi Iwai authored
      VMware tends to report PCM positions and period updates at utterly
      wrong timing.  This screws up the recent PCM core code that tries
      to correct the position based on the irq timing.
      Now, when a backward irq position is detected, skip the update
      instead of rebasing.  (This is almost the old behavior before
      Signed-off-by: default avatarTakashi Iwai <>
  6. 08 Jun, 2009 1 commit
  7. 07 Jun, 2009 1 commit
  8. 06 Jun, 2009 1 commit
  9. 05 Jun, 2009 1 commit
  10. 29 May, 2009 4 commits
  11. 27 May, 2009 2 commits
    • Takashi Iwai's avatar
      ALSA: Enable PCM hw_ptr_jiffies check only in xrun_debug mode · c87d9732
      Takashi Iwai authored
      The PCM hw_ptr jiffies check results sometimes in problems when a
      hardware doesn't give smooth hw_ptr updates.  So far, au88x0 and some
      other drivers appear not working due to this strict check.
      However, this check is a nice debug tool, and the capability should be
      still kept.
      Hence, we disable this check now as default unless the user enables it
      by setting the xrun_debug mode to the specific stream via a proc file.
      Signed-off-by: default avatarTakashi Iwai <>
    • Takashi Iwai's avatar
      ALSA: Fix invalid jiffies check after pause · 6af3fb72
      Takashi Iwai authored
      The hw_ptr_jiffies has to be reset properly to avoid the invalid
      check of jiffies delta in snd_pcm_update_hw_ptr*() functions.
      Especailly this patch fixes the bogus jiffies check after the puase
      and resume.
      This patch is a modified version of the original patch by Jaroslav.
      Signed-off-by: default avatarTakashi Iwai <>
  12. 28 Apr, 2009 1 commit
    • Takashi Iwai's avatar
      ALSA: pcm core - Avoid jiffies check for devices with BATCH flag · 3e5b5016
      Takashi Iwai authored
      The hardware devices with SNDRV_PCM_INFO_BATCH flag can't give the
      precise current position.  And such hardwares have often big FIFO
      in addition to the ring buffer, and it screws up the jiffies check
      in pcm_lib.c.
      This patch adds a simple check of info flag so that the driver skips
      the jiffies check in snd_pcm_period_elapsed() when BATCH flag is set.
      Signed-off-by: default avatarTakashi Iwai <>
  13. 10 Apr, 2009 1 commit
  14. 20 Mar, 2009 1 commit
  15. 19 Mar, 2009 4 commits
  16. 09 Mar, 2009 1 commit
    • Takashi Iwai's avatar
      ALSA: Rewrite hw_ptr updaters · ed3da3d9
      Takashi Iwai authored
      Clean up and improve snd_pcm_update_hw_ptr*() functions.
      snd_pcm_update_hw_ptr() tries to detect the unexpected hwptr jumps
      more strictly to avoid the position mess-up, which often results in
      the bad quality I/O with pulseaudio.
      The hw-ptr skip error messages are printed when xrun proc is set to
      Signed-off-by: default avatarTakashi Iwai <>
  17. 16 Oct, 2008 1 commit
  18. 13 Aug, 2008 1 commit
  19. 31 Jan, 2008 10 commits
  20. 16 Oct, 2007 1 commit
  21. 09 Feb, 2007 1 commit
  22. 20 Dec, 2006 1 commit