I've created rdesktop-1.5 ebuild with libao support. Now it selects libao if "ao" is in USE flags. It prefers oss if both are selected. Tested with only libao-0.8.6, so ebuild depends on it (just lower the version if you successfully tested it with it). The check cannot use simple --with-sound, because rdesktop founds oss (even you wanted only libao). To use libao one have to write --with-sound=libao (USE="ao -oss").
Created attachment 98787 [details] Rdesktop ebuild with libao support
Has this patch been accepted upstream?
This is not a patch, this enables a feature alread in rdesktop (just make a diff of ebuilds). Release notes for 1.4.1 already contains this: * libao sound-driver (for Mac OSX and others) And I enabled libao support for rdesktop-1.5 as I'm trying to disable OSS completely on my computer.
Well, in that case... added to CVS... ;]
Thanks :-)