Page MenuHomeFreeBSD

mixer(8): Allow full PCM device names as input for the -d option
ClosedPublic

Authored by christos on Feb 8 2024, 3:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 25, 1:57 PM
Unknown Object (File)
Fri, Oct 25, 7:29 AM
Unknown Object (File)
Sep 8 2024, 5:46 PM
Unknown Object (File)
Sep 8 2024, 1:27 PM
Unknown Object (File)
Sep 6 2024, 2:09 AM
Unknown Object (File)
Aug 31 2024, 10:39 AM
Unknown Object (File)
Aug 31 2024, 10:39 AM
Unknown Object (File)
Aug 31 2024, 10:39 AM
Subscribers

Details

Summary

The -d option is a wrapper around hw.snd.default_unit. Currently
mixer(8) expects the option argument to be just the unit's number (e.g
pcm0 -> 0). To avoid confusion, allow full device names of the form
"pcmN" as well.

While here, improve the -d option's description in the man page.

Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Feb 8 2024, 4:01 PM

Remove wrong usage info about being able to use both -d and -a at the same
time.

This revision now requires review to proceed.Feb 9 2024, 9:14 PM
This revision is now accepted and ready to land.Feb 10 2024, 12:32 AM