Page MenuHomeFreeBSD

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

Authored by christos on Jun 20 2024, 5:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 7:10 PM
Unknown Object (File)
Nov 25 2024, 10:18 PM
Unknown Object (File)
Nov 17 2024, 10:39 PM
Unknown Object (File)
Nov 15 2024, 6:16 AM
Unknown Object (File)
Nov 5 2024, 5:41 AM
Unknown Object (File)
Oct 12 2024, 2:06 PM
Unknown Object (File)
Sep 26 2024, 8:15 PM
Unknown Object (File)
Sep 22 2024, 8:52 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 Not Applicable
Unit
Tests Not Applicable

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().Jun 22 2024, 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.Jun 24 2024, 6:05 PM