AE: only send resample ratio if it was changed
ActiveAE: better 2 duplicate loc than recursive locking and an addition function call, fix after d66354dccada58c5da5ff5d940cd0942b9264a64
Merge pull request #5417 from FernetMenta/aefixes

AE: optimization and fixes