this makes for less surprising behavior when toggling play/rec dynamically:
when (not (rec or play)) becomes true, immediately enter "stopped" state
when (rec or play) becomes true, immediately enter "playing" state
this means rec and/or play flags can be used to perform a hard stop/start, and repositioning can be done in between without producing unexpected crossfades.
in most cases, it's still probably more useful to simply set the levels and positions, not caring about where the phase ends up. in a future (breaking) version it would be nice to revise the whole interface and add things like "fade out and stop" that users might reasonably expect.
this makes for less surprising behavior when toggling play/rec dynamically:
this means
rec
and/orplay
flags can be used to perform a hard stop/start, and repositioning can be done in between without producing unexpected crossfades.in most cases, it's still probably more useful to simply set the levels and positions, not caring about where the phase ends up. in a future (breaking) version it would be nice to revise the whole interface and add things like "fade out and stop" that users might reasonably expect.