[sldev] Added streaming info for Linux, Windows/Mac version needed
Dale Glass
dale at daleglass.net
Thu Mar 26 10:20:59 PDT 2009
Hi!
I made a small patch to display the title of the currently playing song in
the chat log. I only use SL on Linux, so only a gstreamer implementation is
included so far.
Pretty much all that's needed is to add the required code to
llmediaimplquicktime.cpp, and then call:
LLMediaEvent event(self, song_title);
self->getEventEmitter().update( &LLMediaObserver::onMediaTitleChange,
event);
Criticism of the idea and the implementation would be appreciated.
Currently I stuck the title announcing code into lloverlaybar.cpp, but
that's probably not the best place for it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: streaming_info.patch
Type: text/x-patch
Size: 5161 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20090326/a3566a2d/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20090326/a3566a2d/attachment.pgp
More information about the SLDev
mailing list