One addition.
My MacBook's volume control also behaves strangly. When power adapter is connected and I put my mac to sleep, then after wake up the volume control does not respond for a while. On the screen I can see that I am changing volume but the icon on the menu bar does not respond to it...