Date: Tue, 18 Oct 2005 21:33:51 +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 vchan.c Message-ID: <200510182133.j9ILXpje014102@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ariff 2005-10-18 21:33:51 UTC
FreeBSD src repository
Modified files:
sys/dev/sound/pcm vchan.c
Log:
Fix vchan speed for hardware with discrete (non-continuous)
sampling rate:
- Improve vchan chn_setspeed() strategy. Try to avoid FEEDER_RATE
on parent channel if the requested value is not supported
by the hardware.
- Fix vchan default speed calculation. In any case, vchan should
rely on parent bufsoft speed instead of bufhard since it is
possible that the entire feeder chain might involve FEEDER_RATE.
This is possible under extreme, rare condition if the above
chn_setspeed() strategy failed.
Approved by: netchild (mentor)
Revision Changes Path
1.20 +24 -6 src/sys/dev/sound/pcm/vchan.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510182133.j9ILXpje014102>
