summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/SjLjEHPrepare.cpp
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2011-06-07 17:01:52 +0000
committermav <mav@FreeBSD.org>2011-06-07 17:01:52 +0000
commitf7c852c88abcebcb25c335b83cf1f5e748e33a1c (patch)
tree65125d0ec655e16dd8417a2b4641460e8af8e83c /contrib/llvm/lib/CodeGen/SjLjEHPrepare.cpp
parentbd3b4363f82a88a7abb776092169f6fadc972246 (diff)
downloadFreeBSD-src-f7c852c88abcebcb25c335b83cf1f5e748e33a1c.zip
FreeBSD-src-f7c852c88abcebcb25c335b83cf1f5e748e33a1c.tar.gz
Make automatic hw.snd.default_unit choice a bit more intelligent. Instead
of just setting it to the first registered device, reevaluate it for each device registered, trying to choose best candidate, unless one was forced. For now use such preference order: play&rec, play, rec. As side effect, this should workaround the situation when HDMI audio output of the video card, usually not connected to anything, becomes default, that requires manual user intervention to make sound working. If at some point this won't be enough, we can try to fetch some additional priority flags from the device driver.
Diffstat (limited to 'contrib/llvm/lib/CodeGen/SjLjEHPrepare.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud