diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2020-03-04 17:23:20 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2020-03-04 17:23:20 +0000 |
commit | cc1efc23c8f94991ae65f43c9a311a7e43918480 (patch) | |
tree | bec88a39464c993ff3d482340b748b51b4c500c4 /stand | |
parent | 3818c25a1d1fb4e573c4a7ca6826d759d6eb57b6 (diff) |
Implement a detaching flag for the sound(4) subsystem to take
appropriate actions when we are trying to detach an audio device,
but cannot because someone is using it.
This avoids applications having to wait for the DSP read data
timeout before they receive any error indication.
Tested with virtual_oss(8).
Remove some unused definitions while at it.
PR: 194727
MFC after: 1 week
Sponsored by: Mellanox Technologies
Notes
Notes:
svn path=/head/; revision=358629
Diffstat (limited to 'stand')
0 files changed, 0 insertions, 0 deletions