Page MenuHomeFreeBSD

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

Authored by christos on Fri, May 10, 4:42 PM.
Tags
None
Referenced Files
F84380719: D45151.diff
Thu, May 23, 2:12 AM
Unknown Object (File)
Sat, May 18, 8:56 AM
Unknown Object (File)
Thu, May 16, 6:18 PM
Unknown Object (File)
Thu, May 16, 6:14 PM
Unknown Object (File)
Wed, May 15, 7:37 AM
Unknown Object (File)
Mon, May 13, 3:40 AM
Unknown Object (File)
Sun, May 12, 8:23 PM
Unknown Object (File)
Fri, May 10, 8:54 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