Searched refs:snd_unit_auto (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/sys/dev/sound/pcm/
H A Dsound.c53 static int snd_unit_auto = -1; variable
55 &snd_unit_auto, 0, "assign default unit to a newly attached device");
438 snd_unit_auto = 0;
801 if (snd_unit_auto < 0)
802 snd_unit_auto = (snd_unit < 0) ? 1 : 0;
803 if (snd_unit < 0 || snd_unit_auto > 1)
805 else if (snd_unit_auto == 1)
1242 if (snd_unit_auto == 0)
1243 snd_unit_auto = 1;

Completed in 15 milliseconds