[vorbis-dev] optimization to libao audio output autodetection code
Stan Seibert
volsung at mailsnare.net
Thu Jul 10 19:45:13 PDT 2003
On Thu, 2003-07-10 at 21:27, David Walser wrote:
> 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).
> All in all, this patch gives us better control over
> what drivers have to get tested, and the order they're
> tested in, and makes the autodetection a bit faster.
Ah, I very much like this patch now. It should be in CVS by tomorrow
night (after I've had a chance to play with it a bit).
---
Stan Seibert
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list