HomeFreeBSD

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

Description

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

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: 1 day
Reviewed by: dev_submerge.ch
Differential Revision: https://reviews.freebsd.org/D45151

(cherry picked from commit 0e80798518be673bdad7245b627cb5bd7ec08888)

Details

Provenance
christosAuthored on Thu, May 23, 12:57 AM
Reviewer
dev_submerge.ch
Differential Revision
D45151: mixer(8): Ignore mixer_open() failures for the -a option
Parents
rGab7c89415462: sound: Handle unavailable devices in various OSS IOCTLs
Branches
Unknown
Tags
Unknown