cvs commit: src/sys/dev/sound/pcm channel.c feeder.c feeder.h
feeder_fmt.c feeder_rate.c
Ariff Abdullah
ariff at FreeBSD.org
Sun Jan 22 07:06:50 PST 2006
ariff 2006-01-22 15:06:50 UTC
FreeBSD src repository
Modified files:
sys/dev/sound/pcm channel.c feeder.c feeder.h feeder_fmt.c
feeder_rate.c
Log:
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.
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.
Tested on: ATI IXP, force 32bit recording.
MFC after: 5 days
Revision Changes Path
1.107 +15 -25 src/sys/dev/sound/pcm/channel.c
1.35 +117 -7 src/sys/dev/sound/pcm/feeder.c
1.13 +4 -0 src/sys/dev/sound/pcm/feeder.h
1.19 +66 -0 src/sys/dev/sound/pcm/feeder_fmt.c
1.15 +25 -14 src/sys/dev/sound/pcm/feeder_rate.c
More information about the cvs-all
mailing list