Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2006 02:27:28 +0000 (UTC)
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/sound/pcm channel.c feeder.c feeder.h feeder_fmt.c feeder_rate.c
Message-ID:  <200601290227.k0T2RTqS012340@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ariff       2006-01-29 02:27:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/sound/pcm    channel.c feeder.c feeder.h feeder_fmt.c 
                         feeder_rate.c 
  Log:
  MFC: Various fixups:
  
  feeder.h:
  feeder.c:
          - Implement scoring mechanisme to select best format for conversion.
            This is actually part of newer format chaining procedures which
            will be commited someday. Confusion during chaining process solved
            by this scoring since it will try to reduce list of from/to formats
            to a single, best format.
            Related PR:   kern/91683
  channel.c:
          - Simplify feeder building process since we have smarter format
            chaining.
          - (1) Fix DMA alignment, based on bytes per sample.
  
  feeder_fmt.c:
          - Add few more sign conversion feeders for 24 and 32 bit format.
  
  feeder_rate.c:
          - Force buffer / bytes allignment. Unaligned buffer may cause
            panics during recording on pure 32bit sample format if it
            involves feeder_rate as part of feeders chain. Handle strayed
            bytes (mostly caused by #1) better.
            Tested on: ATI IXP, force 32bit recording.
  
  This DMA alignment issues are extremely hard to reproduce unless the user
  happen to have a 32bit capable soundcards (ATI IXP) and knowledgeable enough
  to force it to operate under pure 32bit operations on both record and play
  directions.
  
  Revision  Changes    Path
  1.99.2.3  +20 -24    src/sys/dev/sound/pcm/channel.c
  1.33.2.2  +125 -7    src/sys/dev/sound/pcm/feeder.c
  1.12.2.1  +4 -0      src/sys/dev/sound/pcm/feeder.h
  1.14.2.2  +67 -1     src/sys/dev/sound/pcm/feeder_fmt.c
  1.11.2.2  +51 -27    src/sys/dev/sound/pcm/feeder_rate.c



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