Simple example of using the AudioManagerEvents API