View Full Version : DSP Plugins
12th March 2010, 16:35
I'm toying with the idea of making a DSP. I've already got a "working" dll. I looked at the example DSP source from the SDK and I've got a problem with callback calling sequence and the "sf" entry in the header def.
winampDSPHeader.sfWhat is "sf"? When does it get called? I copy and pasted the "sf" function from the example DSP in the SDK but I have no idea what it's supposed to do.
Is it possible that a module's "ModifySamples" callback can be called during or even after a callback to the module's "Quit" function?
Thanks in advance
25th October 2010, 08:59
Nobody to answer this one ? I'm also stuck on this "sf" function and her use... I cannot figure out what is doing the one in the example ...
Thanks in advance,
25th October 2010, 09:25
1) the sf() function is used to determine if the dsp plug-in is a 'trusted' plug-in (and if you're not trusted then you're not going to know what the functon needs to do) so i really wouldn't worry about it (also i don't think it is used anymore anyway as it could otherwise allow drm'd output to be processed and as that has been circumvented once we don't want that to happen again).
2) the ModifySamples(..) function shouldn't be called when the plug-in is being unloaded or afterwards.
26th October 2010, 12:55
Hi Dro, Thanks for the answer....
26th October 2010, 13:29
Wow, it took approximately 227 days and a bump to answer this question! lmfao! :blah:
Thanks, I was still wondering about that.
26th October 2010, 14:31
well i'd missed it though i was between homes and decorating one of them so not too bad really, hehe
18th November 2010, 15:35
What is the difference between "winampDSPGetHeader" and "winampDSPGetHeader2"?
Does the current version of Winamp support DSPs that only export the "winampDSPGetHeader" function?
18th November 2010, 16:03
only 'winampDSPGetHeader2' is supported (don't think i've ever seen anything with 'winampDSPGetHeader' in it).
18th November 2010, 17:44
Thanks, one less thing to have to worry about. :)
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.