Page MenuHomeFreeBSD

mixer(8): Ignore mixer_open() failures for the -a option
ClosedPublic

Authored by christos on May 10 2024, 4:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 5:25 AM
Unknown Object (File)
Oct 3 2024, 12:50 PM
Unknown Object (File)
Oct 2 2024, 8:34 AM
Unknown Object (File)
Sep 27 2024, 5:43 PM
Unknown Object (File)
Sep 24 2024, 4:09 AM
Unknown Object (File)
Sep 20 2024, 5:31 PM
Unknown Object (File)
Sep 20 2024, 2:47 AM
Unknown Object (File)
Sep 19 2024, 2:45 PM
Subscribers

Details

Summary

The most likely reason mixer_open() will fail is because either the
device doesn't exist, or because it is disabled, so there is not reason
to kill the application. Instead, continue and print the rest of the
enabled mixers.

PR: 277615
Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

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