Added getNumAmplitudes() method.
Added FFT analysis to example.
Making sure the pos is between 0 and 1.
Merge remote-tracking branch 'elie/feature-audio-metering'