'Twas brillig, and Colin Guthrie at 08/07/10 10:40 did gyre and gimble: > 'Twas brillig, and Marco Ballesio at 08/07/10 09:37 did gyre and gimble: >> Hi, >> >> On Wed, Jun 16, 2010 at 10:59 AM, Colin Guthrie <gmane at colin.guthr.ie> wrote: >>> >>> Now, incorporating what you suggest, I guess I have nothing against a >>> specific module that actually manipulates a given priority list for you. >>> e.g. you could have a module-prefer-usb-for-music module that actually >>> implements your desired behaviour in a purely modular fashion by >>> automatically rearranging your music priority list for you. Personally I >>> think most users would not want it, but for those who do they can load it. >>> >> >> sorry for jumping in the thread so late, but having worked on >> something similar I think a suitable project already exists. It is the >> "resource policy", based on ohm, the git repo is at: >> >> http://meego.gitorious.org/maemo-multimedia/ohm >> >> Through this tool it's possible to seamlessly handle whatever we can >> consider a resource (CPU, memory, audio sink/source) depending on the >> system state, which may change after particular events occur (e.g. >> audio jack insertion or removal). >> >> Many meta-informations like a proper wiki page are missing there >> though, but still it's worth a consideration imho, as the project can >> be considered as already quite stable (let's say it's at production >> level for some targets). > > Thanks for the info. > > I'm actually having a meeting next week to discuss some thing on this > general topic (loosely speaking) so I'll try and find out a bit more > about this before then. Hmm, interesting: http://meego.gitorious.org/maemo-multimedia/ohm/commit/3274a3dca2069865de3ace9a6cef658ee7b521d1 "this project is obsolete and will be replaced with something more functional in the near future." Wonder what that "more interesting" project could be! Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mandriva Linux Contributor [http://www.mandriva.com/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]