Old 9th January 2006, 08:38   #1
0xF
Junior Member
 
Join Date: Jan 2006
Location: Poland
Posts: 2
Order of VSASetInfo() arguments

Hello,

I am developing an input plugin and found the following problem in wa502_sdk.zip:

code:

in in2.h:
void (*VSASetInfo)(int nch, int srate);
in in_tone.c:
mod.VSASetInfo(44100,1);
in in_raw.c:
mod.VSASetInfo(SAMPLERATE,NCH);



That is, the header file suggests the opposite order than used in the example plugins.

Any ideas?

Piotr
0xF is offline   Reply With Quote
Old 9th January 2006, 08:42   #2
0xF
Junior Member
 
Join Date: Jan 2006
Location: Poland
Posts: 2
By the way, first I went to this page:

http://www.winamp.com/nsdn/home/mail.php

checked "Winamp Plug-ins Development Discussion", entered my email address, clicked "Subscribe" and got the same page with no message that an email has been sent to me (and I did not receive one).
0xF is offline   Reply With Quote
Old 10th January 2006, 04:38   #3
Benski
Ben Allison
Former Winamp Developer
 
Benski's Avatar
 
Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,057
The correct parameter order should be

code:
void (*VSASetInfo)(int srate, int nch);
Benski 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