<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>The old device management mechanisms from phonon4 look to be overly complicated for what phonon5 needs (things have changed from the times when phonon4 was developed).<br>
<br></div>We need a more simplified design imo.<br><br></div>Old functionality:<br></div>- devices are generic objects (ObjectDescription)<br></div>- device objects are passed around between the platform plugin and Phonon4 and between the backend and Phonon4, so Phonon4 centralizes the available objects and gives them to the kcm, for example.<br>
</div>- generic objectDescriptionIndexes() in backend and platform plugin<br></div>- generic objectDescriptionProperties() in backend and platform plugin<br></div>- GlobalConfig was an important part of this<br><br></div>
Proposed functionality for Phonon5:<br></div>- each device type with it's own class (derived from DeviceDescription)<br></div>- only the backend gives devices<br></div><div>- no more platform plugin<br></div><div>- no more generic objectDescriptionIndexes/Properties()<br>
</div>- methods like QList<AudioOutputDevice> audioOutputDevices() for passing from the backend to Phonon5<br><br></div>Pulse stuff should be handled by the backend, I guess.<br></div><div><div><div><div><div><div><div>
<div><div><div><div><div><div><div><div><div><br>Regards,<br>Casian<br><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>