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, Jul 14, 6:21 PM
Unknown Object (File)
Sun, Jul 5, 6:53 PM
Unknown Object (File)
Wed, Jun 24, 3:41 PM
Unknown Object (File)
Tue, Jun 23, 7:40 AM
Unknown Object (File)
May 19 2026, 8:41 PM
Unknown Object (File)
Apr 28 2026, 1:51 PM
Unknown Object (File)
Apr 28 2026, 1:51 PM
Unknown Object (File)
Apr 27 2026, 11:24 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 57654
Build 54542: arc lint + arc unit