Old 12th March 2010, 17:35   #1
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
DSP Plugins

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.

Question 1:
Quote:
winampDSPHeader.sf
What 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.


Question 2:

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
thinktink is offline   Reply With Quote
Old 25th October 2010, 09:59   #2
FabD
Junior Member
 
Join Date: Oct 2010
Posts: 2
Hello,

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,
FabD
FabD is offline   Reply With Quote
Old 25th October 2010, 10:25   #3
DrO
 
Join Date: Sep 2003
Posts: 27,873
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.

-daz
DrO is offline   Reply With Quote
Old 26th October 2010, 13:55   #4
FabD
Junior Member
 
Join Date: Oct 2010
Posts: 2
Hi Dro, Thanks for the answer....
FabD is offline   Reply With Quote
Old 26th October 2010, 14:29   #5
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Wow, it took approximately 227 days and a bump to answer this question! lmfao!

Thanks, I was still wondering about that.
thinktink is offline   Reply With Quote
Old 26th October 2010, 15:31   #6
DrO
 
Join Date: Sep 2003
Posts: 27,873
well i'd missed it though i was between homes and decorating one of them so not too bad really, hehe

-daz
DrO is offline   Reply With Quote
Old 18th November 2010, 16:35   #7
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
New Question

New Question:

What is the difference between "winampDSPGetHeader" and "winampDSPGetHeader2"?

Does the current version of Winamp support DSPs that only export the "winampDSPGetHeader" function?
thinktink is offline   Reply With Quote
Old 18th November 2010, 17:03   #8
DrO
 
Join Date: Sep 2003
Posts: 27,873
only 'winampDSPGetHeader2' is supported (don't think i've ever seen anything with 'winampDSPGetHeader' in it).

-daz
DrO is offline   Reply With Quote
Old 18th November 2010, 18:44   #9
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Thanks, one less thing to have to worry about.
thinktink is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump