]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sound: Add missing oss_mixerinfo devnode and legacy_device fields
authorChristos Margiolis <christos@FreeBSD.org>
Thu, 9 May 2024 19:08:11 +0000 (21:08 +0200)
committerChristos Margiolis <christos@FreeBSD.org>
Thu, 9 May 2024 19:08:28 +0000 (21:08 +0200)
commite6df8c379b0cf2f6d715d4903fcb1f279e38173e
tree76f4ff709b80cf7fedb78c7662feb6b1fcdf4b78
parent59d98edae3e1a6fffd292e4393c49862d624f25f
sound: Add missing oss_mixerinfo devnode and legacy_device fields

They are missing from soundcard.h and are in fact used by some
applications, such as OSS' ossinfo(1):
http://manuals.opensound.com/developer/ossinfo.c.html

The new size for filler is chosen according to the most recent official
version of soundcard.h, which includes those 2 fields.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: dev_submerge.ch
Differential Revision: https://reviews.freebsd.org/D45137
sys/dev/sound/pcm/mixer.c
sys/sys/soundcard.h