Old 15th November 2005, 07:44   #1
Aarkay
Junior Member
 
Join Date: Nov 2005
Posts: 8
I need a sample program for plugin..

Hi everybody,

Iam new to Winamp development.
I want to develop a plugin to winamp.

Iam very thankfull to all of them who can help by giving some information, so that I can overcome my problem.

Basically I need to develop a sample plugin to winamp.

What i need is...
Some examples which gives the information about
how to use the winamp SDK,
how to port to winamp.exe...

plz help me.
Aarkay is offline   Reply With Quote
Old 15th November 2005, 18:28   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
What language are you attempting to use? C|C++ (console), Win32 GUI, delphi, C#, VB, ....

Also, did you already got the SDK?


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 16th November 2005, 06:11   #3
Aarkay
Junior Member
 
Join Date: Nov 2005
Posts: 8
thanx joel

iam using Win32 GUI language and vc++ complier

yes i got the SDK..
Aarkay is offline   Reply With Quote
Old 16th November 2005, 19:21   #4
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Read the Empty General purpose plugin to get the files start with


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 17th November 2005, 05:41   #5
Aarkay
Junior Member
 
Join Date: Nov 2005
Posts: 8
Thanx joel
yes i downloaded the empty plugindll
and it is working fine

Where can i find the winamp SDK documentaion.
(i.e)Description about the functions and structures defined in the winamp SDK.

I have the Winamp SDK but i could not figure it out properly.

Basically What i want is
1.The total length of the current playing song
2.The Current Time of the Playing song.

I need to display a lyric in my window
how can i do that. Could you plz help me or plz suggest me where can i find the information about that.
Aarkay is offline   Reply With Quote
Old 17th November 2005, 18:53   #6
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
In your sdk path... look the wa_ipc.h file, open it, and seek for IPC_GET_EXTENDED_FILE_INFO or IPC_GET_BASIC_FILE_INFO and see it does for you


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel is offline   Reply With Quote
Old 17th November 2005, 18:59   #7
DrO
 
Join Date: Sep 2003
Posts: 27,873
or just IPC_GETOUTPUTTIME (wparam = 0 gives the current playback position and wparam = 1 gives the track length) which is much easier to use

-daz
DrO is offline   Reply With Quote
Old 18th November 2005, 10:46   #8
Aarkay
Junior Member
 
Join Date: Nov 2005
Posts: 8
thank u joel and dro.
i got the current playback position.

and

How can i get a notification Whenever a event occur in winamp.
This may be a typical thing, but i need this.

how can i implement in my plugin DLL
Aarkay is offline   Reply With Quote
Old 18th November 2005, 18:01   #9
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,917
Well... search on the forum about subclassing the winamp parent and read about IPC_CB_MISC and IPC_CB_MISC_STATUS


@dro:


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE.
Joel 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