1. Feb 09, 2010
  2. Feb 05, 2010
  3. Feb 02, 2010
  4. Feb 01, 2010
  5. Jan 28, 2010
    • Jaroslav Kysela's avatar
      ALSA: pcm_native - fix runtime->boundary calculation · 7910b4a1
      Jaroslav Kysela authored
      
      
      The code in pcm_lib updating runtime->hw_ptr_interrupt expects
      that runtime->boundary is divisible with runtime->period_size.
      Thanks are going to Clemens Ladisch for the notice.
      
      Fix the runtime->boundary calculation using buffer_size * period_size
      as base and find a least common multiple for 32bit platforms when
      the expression might overflow.
      
      Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
      7910b4a1
  6. Jan 27, 2010
    • Takashi Iwai's avatar
      d0d2c38e
    • Jaroslav Kysela's avatar
      ALSA: pcm_lib - return back hw_ptr_interrupt · e7636925
      Jaroslav Kysela authored
      
      
      Clemens Ladisch noted for hw_ptr_removal in "cleanup & merge hw_ptr
      update functions" commit:
      
      "It is possible for the status/delay ioctls to be called when the sound
      card's pointer register alreay shows a position at the beginning of the
      new period, but immediately before the interrupt is actually executed.
      (This happens regularly on a SMP machine with mplayer.)  When that
      happens, the code thinks that the position must be at least one period
      ahead of the current position and drops an entire buffer of data."
      
      Return back the hw_ptr_interrupt variable. The last interrupt pointer
      is always computed from the latest hw_ptr instead of tracking it
      separately (in this case all hw_ptr checks and modifications might
      influence also hw_ptr_interrupt and it is difficult to keep it
      consistent).
      
      Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
      e7636925
  7. Jan 26, 2010
  8. Jan 21, 2010
  9. Jan 19, 2010
  10. Jan 18, 2010
  11. Jan 14, 2010
  12. Jan 13, 2010
  13. Jan 12, 2010
  14. Jan 08, 2010
  15. Jan 07, 2010
  16. Dec 28, 2009