AE: optimization and fixes

44f14c6 only send a message to ActiveAE if resample ration has changed. this reduced load on AE
79e0ba6 apart from  reducing load it seems to fix an issue which bothered me quite a while: system deadlocked waiting on a mutex which was not taken by any other thread. attaching a debugger made it run again. may have triggered some bug in a lower layer.