I been doing some investigation since this doesn't still work, there's 3 things that i found need fixing:
* qtmultimedia needs to install the usr/include/*/qt5/QtMultimedia/QAudioRoleControl and usr/include/*/qt5/QtMultimedia/qaudiorolecontrol.h files
* qtubuntu-media needs to return an QAudioRoleControl on AalMediaPlayerService::requestControl with QAudioRoleControl_iid
* AalMediaPlayerService::setAudioRole and AalMediaPlayerService::audioRole need to properly map between media::Player::AudioStreamRole and QAudio::Role since now they're only casting directly from one to the other and http://paste.ubuntu.com/15266060/ means that is not possible.
I been doing some investigation since this doesn't still work, there's 3 things that i found need fixing: */qt5/QtMultime dia/QAudioRoleC ontrol and usr/include/ */qt5/QtMultime dia/qaudiorolec ontrol. h files ervice: :requestControl with QAudioRoleContr ol_iid ervice: :setAudioRole and AalMediaPlayerS ervice: :audioRole need to properly map between media:: Player: :AudioStreamRol e and QAudio::Role since now they're only casting directly from one to the other and http:// paste.ubuntu. com/15266060/ means that is not possible.
* qtmultimedia needs to install the usr/include/
* qtubuntu-media needs to return an QAudioRoleControl on AalMediaPlayerS
* AalMediaPlayerS
Jim will you take care of this?