Unsolved Can QMediaPlayer give me raw played audio?
-
I want use QMediaPlayer to playback local music, not streams. And I want get decoded raw audio data to use it for dual-channel visualizations. Can I get it? How? Are there any examples?
-
Hi,
QAudioProbe comes to mind but might not be implemented in all platforms.
-
I need raw data on Android mandatory. That is why I refused QAudioProbe. I thought QMediaPlayer uses decoder and sends raw data to system sound architecture. If this is right then QMediaPlayer has raw data. I supposed it is possible get raw data from played file with QByteArray QIODevice::read(qint64 maxSize). But I do not see how bind it with QMediaPlayer.
-
QtMultimedia uses whatever the platform offers, it doesn't do any custom decoding in order to feed the system a specific format.