Using Qt 5, i want to play ogg files, but i want the user can choose the outputdevice (i.e. HeadSet, speakers)
While QMediaplayer is not able to set a outputdevice, i want to play ogg files in an other way.

I was thinking to use QAudioOutput but it only play uncompressed files
QAudioDecoder decompresses the files in a QAudioBuffer but i don't know how to play them

Help needed