lastbufferedwave peakindex