![]() |
#1 |
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. |
![]() |
![]() |
![]() |
#2 |
Debian user
(Forum King) 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. |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Nov 2005
Posts: 8
|
thanx joel
iam using Win32 GUI language and vc++ complier yes i got the SDK.. |
![]() |
![]() |
![]() |
#4 |
Debian user
(Forum King) 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. |
![]() |
![]() |
![]() |
#5 |
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. |
![]() |
![]() |
![]() |
#6 |
Debian user
(Forum King) 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. |
![]() |
![]() |
![]() |
#7 |
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 |
![]() |
![]() |
![]() |
#8 |
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 |
![]() |
![]() |
![]() |
#9 |
Debian user
(Forum King) 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. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|