[Kde-hardware-devel] API addition in Solid
Kevin Ottens
ervin at kde.org
Sat Nov 17 16:34:53 CET 2007
Le samedi 17 novembre 2007, Matthias Kretz a écrit :
> I need a globally unique identifier for the devices listed by Solid. And
> Solid::Device::udi() is not that.
It is. It is unique for a given system.
> So I added the API and implementation for it, but the HAL implementation
> currently is just proof-of-concept and the fakecomputer.xml doesn't have
> any uniqueIdentifiers for now.
>
> I need this to fix the problem of initial ordering of audio devices in
> phonon. Without a globally unique identifier I cannot have a "hardware
> database" where the ordering of devices can be "fixed".
Well, really that's IMO too late in the game for such an addition. If you need
something ad hoc for now use the GenericInterface to make your own IDs and
hide this workaround deep into Phonon for now. :-)
I'd like to reevaluate this and go toward a real solution post-4.0 (the video
guys have similar concerns).
Regards.
--
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20071117/874c6249/attachment.pgp
More information about the Kde-hardware-devel
mailing list