Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2003 06:00:48 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/sound/pci ds1.c
Message-ID:  <200308231300.h7ND0m8D021935@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2003/08/23 06:00:48 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/sound/pci    ds1.c 
  Log:
  When calculating the block size to use for a particular sample rate,
  round the result up to a multiple of 4 bytes so that it will always
  be a multiple of the sample size. Also use the actual buffer size
  from sc->bufsz instead of the default DS1_BUFFSIZE.
  
  This fixes panics and bad distortion I have seen on Yamaha DS-1
  hardware, mainly when playing certain Real Audio media.
  
  Reviewed by:    orion (an earlier version of the patch)
  
  Revision  Changes    Path
  1.35      +6 -4      src/sys/dev/sound/pci/ds1.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308231300.h7ND0m8D021935>