©2003 Kåre Sjölander and Jonas Beskow
Introduction Download Documentation Links Forum
WaveSurfer user forum

FAQ  FAQ
Search  Search
Memberlist  Memberlist
Register  Register
Profile  Profile
Login  Login

registerCallbackProc in plugins

 
Post new topic   Reply to topic    www.speech.kth.se/wavesurfer Forum Index -> WaveSurfer
View previous topic :: View next topic  
Author Message
Geoffrey



Joined: 03 Feb 2003
Posts: 32
Location: Belgium

PostPosted: Thu Jul 01, 2004 9:22 am    Post subject: registerCallbackProc in plugins Reply with quote

Hello,

Though this feature is not much used yet (and marked as experimental in the transcription plugin), I use the transcription::transcriptionchangedproc special option in a plugin, and I get an error:
"unresolved callback option".

For what I saw, it is probably due to the fact that my plugin is read before the transcription plugin, and that the special option is thus treated before the handler indeed exists.

A solution would be to keep all special options of all plugins in a structure, and treat them AFTER all plugins have been loaded.

Regards,
Geoffrey
Back to top
View users profile Send private message
kare



Joined: 16 Aug 2002
Posts: 371
Location: KTH, Centre for Speech Technology

PostPosted: Sat Jul 10, 2004 9:23 pm    Post subject: Reply with quote

I'll add an -after option (similar to -before) in the next release when I get back fram vacation, that should fix it. Or if you want to add it. Otherwise just use a filename that makes your plug-in be read after transcription.plug.

Kåre
Back to top
View users profile Send private message Visit posters website
Geoffrey



Joined: 03 Feb 2003
Posts: 32
Location: Belgium

PostPosted: Mon Jul 12, 2004 8:31 am    Post subject: Reply with quote

That's basically what I did (change the plug-in filename) icon_wink.gif

A -after option will make it, especially I think it might be useful in other cases.

Regards,
Geoffrey
Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.speech.kth.se/wavesurfer Forum Index -> WaveSurfer All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.1 © 2001, 2002 phpBB Group