Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 1st October 2009, 12:50   #1
GoodCall
Junior Member
 
Join Date: Oct 2009
Location: Løsning, Denmark
Posts: 3
WinAmp Event messages

I'm new to writing c++ plugin for a generic plugin.

It seems that the SDK and online help pretty incomplete.

I can't seem to find a list of all the messages Winamp throws around like WA_PLAY, etc.

Does anyone have them?

Right now i'm searching for events that says when a song is played to the end.

And how to retrieve song info like: title, artist, album, etc.

Can anyone help me in the right direction?

/Best regards
Brian Nielsen
GoodCall is offline   Reply With Quote
Old 1st October 2009, 20:20   #2
TheSaw
Senior Member
 
TheSaw's Avatar
 
Join Date: Apr 2009
Posts: 342
Send a message via Yahoo to TheSaw
Open wa_ipc.h (it should be in the Winamp SDK), and you'll find all (?) messages there, with enough documentation to get you started.

The "events" are sent as WM_WA_IPC windows messages, with the event identifier as lParam, and additional information in the wParam. Besides the IPC_PLAYING_FILE/IPC_PLAYING_FILEW messages, which are sent when the playback is started, there are other callbacks, just search for 'IPC_CB_', they should be in one place. There are others too, just look around, but I doubt you'll find one for song ending. You can do that by Getting the current song length, and current position in the song, and compare them

Winamp integration plug-in with Windows 7

If you like this plug-in, why not buy me a coffee to keep me awake to work more on it?

TheSaw is offline   Reply With Quote
Reply
Go Back   Winamp 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