15 Mar
2018
15 Mar
'18
1:56 p.m.
Hello Takashi,
So in which situation would io->state and jack->state differ with each other? Only DRAINING and XRUN, or in other cases?
I have extended the commit message:
Therefore this internal state variable is not always in sync with io->state. In addition the internal state variable will be updated after the corresponding callback function was processed and not before the callback function was called (e.g. PREPARE and RUNNING).
Therefore the internal state will always contain the state which is currently active. It will keep the old state as long as the transition to the new one was successfully finished
See attached the updated patch which can be applied without conflicts.
Best regards,
Timo