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
F86614095: D45151.id138961.diff
Sun, Jun 23, 1:45 AM
F86606219: D45151.id.diff
Sat, Jun 22, 10:41 PM
Unknown Object (File)
Thu, Jun 20, 12:26 PM
Unknown Object (File)
Thu, Jun 20, 4:42 AM
Unknown Object (File)
Sun, Jun 16, 2:10 AM
Unknown Object (File)
Tue, Jun 4, 8:07 PM
Unknown Object (File)
Sat, Jun 1, 3:58 PM
Unknown Object (File)
May 23 2024, 2:12 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 57654
Build 54542: arc lint + arc unit