Page MenuHomeFreeBSD

sound: Merge pcm_chn_destroy() and chn_kill()
ClosedPublic

Authored by christos on Apr 27 2024, 8:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 22 2024, 5:26 PM
Unknown Object (File)
Sep 18 2024, 7:24 PM
Unknown Object (File)
Sep 18 2024, 8:23 AM
Unknown Object (File)
Sep 18 2024, 2:13 AM
Unknown Object (File)
Sep 17 2024, 3:53 PM
Unknown Object (File)
Sep 16 2024, 9:27 PM
Unknown Object (File)
Sep 2 2024, 4:06 PM
Unknown Object (File)
Aug 30 2024, 2:26 PM
Subscribers

Details

Summary

pcm_chn_destroy() acts like a wrapper around chn_kill(), and
additionally calls a few more functions that should in fact be part of
chn_kill()'s logic. Merge pcm_chn_destroy()'s functionality in
chn_kill() to improve readability, as well as code layering.

While here, convert chn_kill() to void as it currently always returns 0.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable