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

/freebsd-12-stable/sys/dev/sound/pcm/
H A Dsound.c55 static int snd_unit_auto = -1; variable
57 &snd_unit_auto, 0, "assign default unit to a newly attached device");
440 snd_unit_auto = 0;
803 if (snd_unit_auto < 0)
804 snd_unit_auto = (snd_unit < 0) ? 1 : 0;
805 if (snd_unit < 0 || snd_unit_auto > 1)
807 else if (snd_unit_auto == 1)
1246 if (snd_unit_auto == 0)
1247 snd_unit_auto = 1;

Completed in 106 milliseconds