Displaying 1 result from an estimated 1 matches for "_find_default_driver_id".
2003 Jul 10
2
optimization to libao audio output autodetection code
Ok, this patch replaces the old patch I sent, and it
does a bit more.
For one, it sorts the linked list of drivers based on
the priority values, highest valued ones coming first.
That allows the _find_default_driver_id code to stop
looping (break) immediately when it finds a driver
that works, because it already knows it's the working
driver with the highest priority (what it normally
returns anyway).
The advantage to sorting based on priority, is it
gives us some control over what order the drivers are
test...