<br><div><span class="gmail_quote">On 1/9/07, <b class="gmail_sendername">Thiago Macieira</b> &lt;<a href="mailto:thiago@kde.org">thiago@kde.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>An out-of-process implementation of a few D-Bus API calls would be almost<br>trivial to implement in a running daemon that desktop environments<br>already provide. They already have theming capabilities -- or will<br>
have -- and already have all the necessary resources to play sound<br>already.</blockquote><div><br>Then, I propose this D-Bus DAPI Sound draft: <a href="http://pastebin.ca/311977">http://pastebin.ca/311977</a><br>It is similar and compatible to the C version.
<br>(and support exported/remote theming, that might be discussed)<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">And you could add the sound calls to DAPI. No need for an *extra* library
<br>(each .so is an added cost on program load time). Especially if your<br>library would require loading of libogg, libvorbis and libalsa -- that&#39;s<br>four DSO that would be loaded.</blockquote><div><br>A little bit unrelated questions: is it possible to ask either libtool or gcc to link staticaly the strimmed&nbsp; functions if the byte added (or an amount) is under a certain value.
<br><br>Suppose we compile a program that use a thin library. And use only a subset of it. Then, would it be possible to &quot;inline&quot; (include statically) the code of the library (if the .a is available) ? Of course, we could also provide a kind of tricky/ugly header to do a real &quot;inline&quot; instead, if we provide such a header. Hmm... technically, I suppose, this is possible. but technically does not help us :)
<br><br>Regards,<br><br></div></div>-- <br>Marc-André Lureau, GSmartMix