QAudioDecoder on Android
Unsolved
Mobile and Embedded
-
What I'm trying to do is to write an audio player which reads an mp3 file, does some audio processing on the fly and plays the result. This program should run on Windows and Android.
As far as I understand I cannot use QMediaPlayer for this, so I'm looking into QAudioDecoder to read the mp3 file and get the raw audio data. On Windows this is working fine, I get the signals and can read the QAudioBuffer and store them in an array.
When I run this on my Android Phone, I just get some warning messages, but I don't get a bufferReady or an Error signal. Is this supposed to be working on Android, yet? QMediaPlayer is working fine on Android, but that will not help me much.