Levi Ramsey wrote:
> On Sat Aug 30 12:01 -0400, David Walser wrote:
>> I also got a fairly significant patch accepted upstream into libao (part of vorbis 
>> project) but they haven't made a new release.  I don't think GC wants to package 
>> CVS even though it's better.
> 
> Just wondering, but as a resident ao evangelist, what was the patch for?

Well, when libao goes to pick an output plugin, it starts testing them all to see if 
they work (each implements a test function).  When it finds one that works, it keeps 
looping, and only tests further ones if they have a priority than the one that already 
worked.  They way the list they looped over was created before, they had no control 
over the order the different plugins were in.

I changed it so the list is sorted in order of plugin priority (highest to lowest), so 
as soon as it finds a plugin that works, it breaks out of the loop.  It's basically an 
optimization to the autodetection (of whether to use arts, esd, oss, alsa, etc output) 
code, it should make it faster.


Reply via email to