VolumeTracker class provides regular updates on the volume of the sound being played on the (main) audio output device.
The class is being compiled into a dll and then imported into a WebApp based on Google's Chromium.
The VolumeTracker has an addListener and removeListener function. The event listener is called with current volume on the audio output device. The volume is a floating number between 0.00 and 1.00. The listener is called based on the frequency provided when registering the listener (e.g. a frequency of 10 means that the listener is called 10 times per second).
The compiled dll shall be as small as possible, and not exceed 500 KB.