20 Oct
2008
20 Oct
'08
11:51 p.m.
Hi.
Takashi Iwai wrote:
Indeed, the async trigger is nice to have in the common place. However, the change wouldn't be as trivial as it sounds, as you mentioned. By async nature, there can be a transition phase between the XRUN and STOP, which can cause races.
Could you please elaborate on how my proposed patch could possibly affect that? It basically doesn't do anything at all except providing one more callback for what would otherwise had to be done in a trigger() callback anyway. If there is a race with that patch, then I pretty much suspect it was with an old code too. I can't imagine any possible change. What have changed?