Page MenuHomeFreeBSD

sound: Get rid of snd_sb16 workaround in vchan_create()
AcceptedPublic

Authored by christos on Thu, Jun 20, 5:16 PM.
Tags
None
Referenced Files
F86946965: D45662.id140187.diff
Thu, Jun 27, 4:33 PM
Unknown Object (File)
Tue, Jun 25, 12:21 PM
Unknown Object (File)
Mon, Jun 24, 7:40 PM
Unknown Object (File)
Sat, Jun 22, 7:40 PM
Unknown Object (File)
Fri, Jun 21, 12:59 PM
Unknown Object (File)
Fri, Jun 21, 10:33 AM
Unknown Object (File)
Fri, Jun 21, 10:31 AM
Subscribers

Details

Summary

The snd_sb16 driver was removed in 716924cb4832 ("Retire snd_sbc ISA
sound card driver").

While here, simplify sample rate assignment a bit.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58333
Build 55221: arc lint + arc unit

Event Timeline

christos retitled this revision from sound: Simplify VCHAN sample rate assignment in vchan_create() to sound: Get rid of snd_sb16 workaround in vchan_create().Sat, Jun 22, 6:51 PM
christos edited the summary of this revision. (Show Details)
sys/dev/sound/pcm/vchan.c
783

Now we apply these bounds only if vchanspd was initially 0, whereas we didn't do that before. Why?

christos marked an inline comment as done.

Address Mark's comment.

sys/dev/sound/pcm/vchan.c
783

My bad.

This revision is now accepted and ready to land.Mon, Jun 24, 6:05 PM