diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-16 13:54:22 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2014-02-16 13:54:22 -0600 |
commit | d31f7a29a4eb62e233e02cb36bebd7038b99de7e (patch) | |
tree | 16c3cba6386a4552c170182f7810206541820763 /src/modules/mediaplayer | |
parent | 0f38893985c4c062acbf383aa5ad437ac896021f (diff) | |
download | kvirc-d31f7a29a4eb62e233e02cb36bebd7038b99de7e.tar.gz kvirc-d31f7a29a4eb62e233e02cb36bebd7038b99de7e.zip |
Fix unintended renaming
Diffstat (limited to 'src/modules/mediaplayer')
-rw-r--r-- | src/modules/mediaplayer/mp_winampinterface.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/mediaplayer/mp_winampinterface.cpp b/src/modules/mediaplayer/mp_winampinterface.cpp index c41b1ba6..ef7e4c79 100644 --- a/src/modules/mediaplayer/mp_winampinterface.cpp +++ b/src/modules/mediaplayer/mp_winampinterface.cpp @@ -62,9 +62,9 @@ // ** IPC_GETLISTLENGTH returns the length of the current playlist, in // ** tracks. -#define IPC_GETETQDATA 127 -// ** int data=SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETETQDATA); -// ** IPC_GETETQDATA queries the status of the EQ. +#define IPC_GETEQDATA 127 +// ** int data=SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETEQDATA); +// ** IPC_GETEQDATA queries the status of the EQ. // ** The value returned depends on what 'pos' is set to: // ** Value Meaning // ** ------------------ @@ -74,10 +74,10 @@ // ** 12 Autoload. zero if disabled, nonzero if enabled. #define IPC_SETETQDATA 128 -// ** SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETETQDATA); +// ** SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETEQDATA); // ** SendMessage(hwnd_winamp,WM_WA_IPC,value,IPC_SETETQDATA); // ** IPC_SETETQDATA sets the value of the last position retrieved -// ** by IPC_GETETQDATA. This is pretty lame, and we should provide +// ** by IPC_GETEQDATA. This is pretty lame, and we should provide // ** an extended version that lets you do a MAKELPARAM(pos,value). // ** someday... @@ -501,7 +501,7 @@ bool KviWinampInterface::setEqData(int &iPos, int &iVal) HWND hWinamp = find_winamp(this); if(hWinamp) { - SendMessage(hWinamp,WM_USER,iPos,IPC_GETETQDATA); + SendMessage(hWinamp,WM_USER,iPos,IPC_GETEQDATA); SendMessage(hWinamp,WM_USER,iVal,IPC_SETETQDATA); return true; } @@ -514,7 +514,7 @@ int KviWinampInterface::getEqData(int &ival) int ret = -1; if(hWinamp) { - ret = SendMessage(hWinamp,WM_USER,ival,IPC_GETETQDATA); + ret = SendMessage(hWinamp,WM_USER,ival,IPC_GETEQDATA); return ret; } return ret; |