Pregunta

Is there a way to use QtMultimedia to access the PCM raw audio samples of MP3 files stored on a, say, Nokia N950 phone?

If it is not possible, what would be the reasonable alternative. Something which could be reasonably easily integrated with an existing Qt project. I know of libmpg123, but I am somewhat confused as to how to cross-compile it for the phone and I was hoping for something more straightforward.

¿Fue útil?

Solución

Well, as there is no better answer within several months, I'll provide one of my own.

After scouting all of the QtMultimedia I figured that it does not provide these functions and ended up using libmpg123. It turned out to be possible to reuse just the raw mp3 file reading functions (mpg123_open, mpg123_seek, mpg123_read, mpg123_close) without having to link with any of the external libraries, which was good enough for my purposes.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top