When artsd is build with eSound support, it doesn't work... various errors happen, but they all boil down to a single issue. In AudioIOESD::getParam() in flow/audioioesd.cc, canWrite returns an overlarge buffer (4096) since this is larger than the MTU, this can NEVER be written successfully in one operation. Merely changing this to 1024 "fixes" the problem, and it works perfectly.

I'm sure there's an ioctl to checking how large a write() can be, but I can't remember it offhand. If nobody else remembers it either, a simple patch to lower this value to something possible does the job.

Thanks,
Stephen
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to