Use the ID.recalc flag to detect when updates after frame-change is needed.
Since comparing the last calculated frame doesn't take undo into account (see code-comment for details).
ID_RECALC_AUDIO_SEEK has been renamed to ID_RECALC_FRAME_CHANGE since this is not only related to audio however internally this flag is still categorized in NodeType::AUDIO.
Note that this could go via the more conventional checks for ID.recalc in the depsgraph,
making it closer to ID_RECALC_TIME which was removed in rB263148dbacc4.