View Full Version : Winamp Refresh Command
saruman
22nd May 2002, 06:14
I've been altering Winamp's EQ values using VB but when I send the new data to winamp, the changes are un-noticable visually, yet the actual settings have changed. The only way to show the actual change it to click on one of the scrolls in Winamp which starts to get very annoying. I don't have extensive knowledge with Winamp developing but a refresh button could be helpful (If it's not already there of course :p )
Saruman
KleptomaN
29th September 2002, 15:52
#define EQ_INC1 40267
#define EQ_INC2 40268
#define EQ_INC3 40269
#define EQ_INC4 40270
#define EQ_INC5 40271
#define EQ_INC6 40272
#define EQ_INC7 40273
#define EQ_INC8 40274
#define EQ_INC9 40275
#define EQ_INC10 40276
#define EQ_INCPRE 40277
#define EQ_DECPRE 40278
#define EQ_DEC1 40279
#define EQ_DEC2 40280
#define EQ_DEC3 40281
#define EQ_DEC4 40282
#define EQ_DEC5 40283
#define EQ_DEC6 40284
#define EQ_DEC7 40285
#define EQ_DEC8 40286
#define EQ_DEC9 40287
#define EQ_DEC10 40288
Find the handle of a Equalizer Window, and use these messages.
SendMessage ( hndEQ, WM_COMMAND, EQ_DEC9, 0);
Since there are only 32 possible values for each EQ band, each EQ_INC or EQ_DEC command is equivalent to an decrease or increase of 2 in the EQ data.
You can either use these commands exclusively for changing EQ settings, or change the settings using WM_USER 128, and then update the display by sending one EQ_INC and one EQ_DEC command for each band (or if the value is 0, send an EQ_DEC command first and an EQ_INC later)
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.