Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 5th June 2003, 13:08   #1
fuh
Junior Member
 
Join Date: Jun 2003
Posts: 2
Winamp2 "Get Volume" Via SendMessage

I'll make this brief.

I can set winamp volume with

#define IPC_SETVOLUME 122
SendMessage(mp3_hwnd, WM_WA_IPC, vol, IPC_SETVOLUME);

How on earth do I query what the current volume is?

Thanks.
fuh is offline   Reply With Quote
Old 5th June 2003, 13:38   #2
fuh
Junior Member
 
Join Date: Jun 2003
Posts: 2
hmm just read you can pass -666 as the volume to get the current volume. wish this was documented!
fuh is offline   Reply With Quote
Old 7th June 2003, 23:13   #3
FunkyFreddy
Junior Member
 
Join Date: Mar 2001
Posts: 1
Send a message via ICQ to FunkyFreddy
errr yeah thanks for the docs on that nullsoft

iv only spent the last two years looking for the answer to that
FunkyFreddy is offline   Reply With Quote
Old 12th June 2003, 14:46   #4
henryt
Junior Member
 
henryt's Avatar
 
Join Date: May 2002
Location: out there
Posts: 30
Yeah hell! I have already given up searching for that function. Thanks a lot for that!!

I whish the Nullsoft guys would rather work on better API docs than on video support...
henryt is offline   Reply With Quote
Old 20th June 2003, 22:16   #5
QUEENSOFT
Junior Member
 
Join Date: Jun 2003
Posts: 2
It really worked. You're all right about the documentation of this thing. I have tried with brute force all the codes, but only POSITIVE numbers. Who would have thought about NEGATIVES ???
QUEENSOFT is offline   Reply With Quote
Old 25th June 2003, 07:25   #6
asandvig
Senior Member
 
asandvig's Avatar
 
Join Date: Dec 2000
Location: Oslo, Norway
Posts: 108
Wow, that's cool. I've been doing workaround for this for years now!

Nullsoft dorks: HOW ABOUT DOCUMENTING YOUR APIs??
asandvig 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