<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/sound, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-04-07T15:44:39Z</updated>
<entry>
<title>sound: Make chn_reset() control flow clearer</title>
<updated>2026-04-07T15:44:39Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-04-07T15:44:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8007a78bfe1f41b7055f8677f8ac9ae4cc2fbc7c'/>
<id>urn:sha1:8007a78bfe1f41b7055f8677f8ac9ae4cc2fbc7c</id>
<content type='text'>
I think this is cleaner than playing around with return values.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56264
</content>
</entry>
<entry>
<title>sound: De-macro array definitions in chn_calclatency()</title>
<updated>2026-04-07T15:44:34Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-04-07T15:44:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=66a82f5fa471b8eda018b7566c3725a6742dfc0c'/>
<id>urn:sha1:66a82f5fa471b8eda018b7566c3725a6742dfc0c</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56263
</content>
</entry>
<entry>
<title>sound: Simplify parts of chn_notify()</title>
<updated>2026-04-07T15:44:29Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-04-07T15:44:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8b18fc456bb136112e166508a9182718cdd44be2'/>
<id>urn:sha1:8b18fc456bb136112e166508a9182718cdd44be2</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56240
</content>
</entry>
<entry>
<title>sound: Retire unused CHN_N_* defines</title>
<updated>2026-04-07T15:44:21Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-04-07T15:44:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d84c8a3d3d673081c803f8aadc4eae8f6a221d8'/>
<id>urn:sha1:2d84c8a3d3d673081c803f8aadc4eae8f6a221d8</id>
<content type='text'>
These still haven't been implemented by the original author, and there
doesn't seem to be much use for them anyway.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56239
</content>
</entry>
<entry>
<title>sound: Mark some snd_fmt* functions as static</title>
<updated>2026-04-07T15:44:15Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-04-07T15:44:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f369d4148b93410fe7f8ea989f66790403d23ce8'/>
<id>urn:sha1:f369d4148b93410fe7f8ea989f66790403d23ce8</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56238
</content>
</entry>
<entry>
<title>snd_uaudio: Retire sndcard_func usage</title>
<updated>2026-03-30T14:13:16Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-03-30T14:13:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0efd33382504d3172734fa21325fcabef9c7f063'/>
<id>urn:sha1:0efd33382504d3172734fa21325fcabef9c7f063</id>
<content type='text'>
This is effectively a no-op, as it does not make use of the
sndcard_func-&gt;varinfo field, so eventually ua_probe() always succeeds.

Also change ua_probe()'s value to 0. There is no need to return
BUS_PROBE_DEFAULT, because snd_uaudio() attaches the sound(4)'s children
with bus_attach_children().

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56160
</content>
</entry>
<entry>
<title>sound: Remove unimplemented chn_reinit() definition</title>
<updated>2026-03-24T10:38:42Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-03-24T10:32:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2e1cf242292a33a71839c512d222115d36f8fd40'/>
<id>urn:sha1:2e1cf242292a33a71839c512d222115d36f8fd40</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
</content>
</entry>
<entry>
<title>sound: Remove dead code in pcm/ac97.c</title>
<updated>2026-03-24T10:38:42Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-03-24T10:32:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d048cec5fb41cf9529dd0b637a51c7ee72b59b3b'/>
<id>urn:sha1:d048cec5fb41cf9529dd0b637a51c7ee72b59b3b</id>
<content type='text'>
ac97_uninitmixer() does not exist also.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56045
</content>
</entry>
<entry>
<title>sound: Address some XXX comments regarding AC'97 IDs</title>
<updated>2026-03-24T10:38:41Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-03-24T10:32:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=edad981e1e8673b6dd14656fe75b9f239fb777ce'/>
<id>urn:sha1:edad981e1e8673b6dd14656fe75b9f239fb777ce</id>
<content type='text'>
These seem harmless to address. Not sure why the original author did not
just assign the appropriate names if he knew they were wrong.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56044
</content>
</entry>
<entry>
<title>sound: Retire Z_PARANOID</title>
<updated>2026-03-24T10:38:41Z</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-03-24T10:32:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6b91c8d5d2c35c4c6231eb172b514f95ce6e10d7'/>
<id>urn:sha1:6b91c8d5d2c35c4c6231eb172b514f95ce6e10d7</id>
<content type='text'>
It is always defined.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D56042
</content>
</entry>
</feed>
