[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Sharing an Event Sound Infrastructure in GNOME and KDE
From:       Michael Pyne <mpyne () purinchu ! net>
Date:       2008-06-13 19:14:20
Message-ID: 200806131514.21622.mpyne () purinchu ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/alternative)]


On Friday 13 June 2008, Colin Guthrie wrote:
> Michael Pyne wrote:
> > Now I'm not sure why we would need to squeeze libcanberra in there for
> > as really all we're missing is code to play a sound on various event
> > types which shouldn't be too hard for the Trolls to add (or even for a
> > KDE plugin to hook into), and we'd be using Phonon anyways. And
> > compatibility with the sound notification spec of course, although I
> > wonder if we'd need to change knotify too for that, I haven't checked
> > out the spec yet.
>
> Yeah, as I said in my other reply (apologies for the delay, as I'm not
> subbed and Gmane's automatic validation seemed to not fully work for
> this list) I see stack as thus:
>
> Qt (or KDE) -> Toolkit event -> libcanberra -> Phonon Backend for
> libcanberra -> Phonon -> Sound.
>
> There is nothing to stop the Trolls (love the term!) reimplementing
> libcanberra in their own way (assuming it's done at the Qt level), but
> if it's at all possible then it would probably make life easier if they
> just integrated it. Even if it was shipped with Qt (it's LGPL so should
> be OK) and compiled in, it could save the hassle of reimplementation.

Well either way if someone wants to implement this, either at Trolltech or in 
KDE, they'll need to look at the technical aspects of their approach and 
libcanberra and weigh the costs/benefits.  I don't have time to volunteer to 
do it as my uh, real job takes up quite a bit of my time, usually during 
feature cycles to boot. :)

And based on the corrections that have been made to my input already I'd have 
to look harder at our KNotify implementation to give useful technical feedback 
on that. ;)

Does anyone want to volunteer to work on this?

Regards,
 - Michael Pyne

[Attachment #7 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Consolas'; font-size:11pt; font-weight:400; \
font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Friday \
13 June 2008, Colin Guthrie wrote:</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; Michael Pyne wrote:</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; Now I'm not sure why we would need to \
squeeze libcanberra in there for</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; as really all we're missing is code to play a sound on \
various event</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; \
types which shouldn't be too hard for the Trolls to add (or even for a</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; KDE plugin to hook \
into), and we'd be using Phonon anyways. And</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; compatibility with the sound \
notification spec of course, although I</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; wonder if we'd need to change knotify \
too for that, I haven't checked</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; out the spec yet.</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt;</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; Yeah, as I said in my other reply (apologies \
for the delay, as I'm not</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; subbed and Gmane's automatic validation seemed to not fully \
work for</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; this \
list) I see stack as thus:</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt;</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; Qt (or KDE) -&gt; Toolkit event -&gt; libcanberra -&gt; \
Phonon Backend for</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; \
libcanberra -&gt; Phonon -&gt; Sound.</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt;</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; There is nothing to stop the Trolls (love \
the term!) reimplementing</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; libcanberra in their own way (assuming it's done at the Qt \
level), but</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; if \
it's at all possible then it would probably make life easier if they</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; just integrated it. Even \
if it was shipped with Qt (it's LGPL so should</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; be OK) and compiled in, it could save the \
hassle of reimplementation.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">Well either way if someone wants to implement \
this, either at Trolltech or in KDE, they'll need to look at the technical aspects of \
their approach and libcanberra and weigh the costs/benefits.  I don't have time to \
volunteer to do it as my uh, real job takes up quite a bit of my time, usually during \
feature cycles to boot. :)</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">And based on the corrections that have been made \
to my input already I'd have to look harder at our KNotify implementation to give \
useful technical feedback on that. ;)</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Does anyone want to volunteer \
to work on this?</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">Regards,</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"> - Michael Pyne</p></body></html>


["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic