Subject: AHI doublebuffering out-of-sync fix

From: piru
Date: Wed Jul 27 00:43:32 2005

To: Kohina-UADE-Forum
I finally managed to figure out the reason for the AHI double buffering out-of-sync problem: Basically with a busy system, both new and pending iorequest could both get processed in single iteration. This would lead into bad syncronization until next song.

The fix identifies the out-of-sync condition and forces doublebuffering restart. The result is that the audio will have brief gap, but I consider that less evil than losing the sync for the whole song.

The patch (against uade-1.03.tar.bz2):

http://www.iki.fi/sintonen/uade/sd-sound-ahi.h.diffs

 - Harry "Piru" Sintonen

---

From: shd
Date: Wed Jul 27 10:10:42 2005

To: Kohina-UADE-Forum
[quote:db27a1f8b8="piru"]
The patch (against uade-1.03.tar.bz2):

[/quote:db27a1f8b8]

Merged. Will be in UADE 1.04. Is this so a critical issue that UADE 1.04 should be released soon? I could also release a 1.04-pre1 if necessary.

---

From: Guest
Date: Thu Jul 28 11:23:15 2005

To: Kohina-UADE-Forum
[quote:225c6d9a30="shd"]Is this so a critical issue that UADE 1.04 should be released soon? I could also release a 1.04-pre1 if necessary.[/quote:225c6d9a30]
It's not that critical imo.. just annoying. There's no crash or anything like that. The audio could just get out of sync under heavy load.

Anyway, my 1.03 build has the fix incorporated. So it really isn't quite 1.03... :)

---

From: shd
Date: Thu Jul 28 11:30:53 2005

To: Kohina-UADE-Forum
[quote:aaa945adb9="Anonymous"]Anyway, my 1.03 build has the fix incorporated. So it really isn't quite 1.03... :)[/quote:aaa945adb9]

That is something you should not do. The main 1.03 source must be compilable to exactly the same binary. It breaks versioning otherwise. It would have been easy to release 1.03-piru or 1.04-pre1. I'm not going to remove that binary from distribution, but don't do it again.