Hi, I create stream player based on qmediaplayer and want add peak level meter to it.
i use functions from example recorder and make this:
http://gyazo.com/a45cb3f5dd5a072094d41463ad0b56c3.gif (the image is too large to insert it here, 183kb)


my result left on image, on right what i need

peak level update based on signal from QAudioProbe

Qt Code:
  1. QAudioProbe *probe = new QAudioProbe();
  2. connect(probe, SIGNAL(audioBufferProbed(QAudioBuffer)),
  3. this, SLOT(processBuffer(QAudioBuffer)));
To copy to clipboard, switch view to plain text mode 


i tried emit this signal but it not working;

how to emit this signal or get audiobuffer from player for no use signal and send buffer to processBuffer manualy?