Skip to content
Snippets Groups Projects
  1. Nov 09, 2012
  2. Nov 06, 2012
  3. Oct 30, 2012
  4. Oct 13, 2012
    • Justin Ruggles's avatar
      lavr: handle clipping in the float to s32 conversion · 10e645e9
      Justin Ruggles authored
      
      We cannot clip to INT_MAX because that value cannot be exactly
      represented by a float value and ends up overflowing during conversion
      anyway. We need to use a slightly smaller float value, which ends up
      with slightly inaccurate results for samples which clip or nearly clip,
      but it is close enough. Using doubles as intermediates in the conversion
      would be more accurate, but it takes about twice as much time.
      
      Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
      10e645e9
  5. Sep 08, 2012
  6. Aug 30, 2012
  7. Aug 24, 2012
  8. Aug 07, 2012
  9. Jul 27, 2012
  10. Jul 26, 2012
  11. Jul 25, 2012
  12. Jun 26, 2012
  13. Jun 25, 2012
  14. Jun 18, 2012
  15. May 29, 2012
Loading