cvs commit: src/sys/dev/sound/pcm vchan.c

Ariff Abdullah ariff at FreeBSD.org
Tue Oct 18 14:33:52 PDT 2005


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


More information about the cvs-src mailing list