freebsd-dev/sys/dev/sound/pcm
Alexander Motin cbebc90de0 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.
2011-06-07 17:01:52 +00:00
..
ac97_if.m
ac97_patch.c
ac97_patch.h
ac97.c
ac97.h
buffer.c
buffer.h
channel_if.m
channel.c
channel.h
dsp.c fix build on 32-bit platforms for r221803 2011-05-12 12:18:01 +00:00
dsp.h
feeder_chain.c
feeder_eq.c
feeder_format.c
feeder_if.m
feeder_matrix.c
feeder_mixer.c
feeder_rate.c
feeder_volume.c
feeder.c
feeder.h
g711.h
intpcm.h
matrix_map.h
matrix.h
mixer_if.m
mixer.c
mixer.h
pcm.h
sndstat.c
sndstat.h
sound.c Make automatic hw.snd.default_unit choice a bit more intelligent. Instead 2011-06-07 17:01:52 +00:00
sound.h
vchan.c
vchan.h