[sldev] [HELP] passing a LLMediaObserver::onMediaMetaInfoChangeevent from llmediaimplwhatsoever to llviewermedia does just nothing

Tofu Linden tofu.linden at lindenlab.com
Tue Feb 17 05:05:20 PST 2009


I checked with a media guy, he says:
"That all looks fine to me. I'd suggest adding a break point in
LLMediaEmitter::addObserver() and LLMediaEmitter::update() and seeing
what happens."

Armin Weatherwax wrote:
> Hi, 
> I'm trying to pass audio stream meta data (Artist, Title) to llviewermedia and 
> for that I want to inform llviewermedia that  meta data was changed (if so).
> so my  llmediaimpl does in its updateMedia()
> 	LLMediaEvent event( this );
> 	mEventEmitter.update( &LLMediaObserver::onMediaMetaInfoChange, event );
> llmediaobserver has a
> 	virtual void onMediaMetaInfoChange( const EventType& event_in ) { }
> and llviewermedia has a
> 	void onMediaMetaInfoChange(const EventType& event_in);
> 
> ... but the void onMediaMetaInfoChange does never trigger. So what I'm missing 
> to let it work ?
> 
> 
> thanks in advance
> :) Armin
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting privileges


More information about the SLDev mailing list