123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- #ifndef NULLSOFT_VISH
- #define NULLSOFT_VISH
- typedef struct winampVisModule
- {
- char *description;
- HWND hwndParent;
- HINSTANCE hDllInstance;
- int sRate;
- int nCh;
- int latencyMs;
-
- int delayMs;
-
- int spectrumNch;
- int waveformNch;
- unsigned char spectrumData[2][576];
- unsigned char waveformData[2][576];
- void (__cdecl *Config)(struct winampVisModule *this_mod);
- int (__cdecl *Init)(struct winampVisModule *this_mod);
- int (__cdecl *Render)(struct winampVisModule *this_mod);
- void (__cdecl *Quit)(struct winampVisModule *this_mod);
- void *userData;
- } winampVisModule;
- typedef struct
- {
- int version;
- char *description;
- winampVisModule* (__cdecl *getModule)(int);
- } winampVisHeader;
- #ifdef USE_VIS_HDR_HWND
- typedef winampVisHeader* (__cdecl *winampVisGetHeaderType)(HWND);
- #define VIS_HDRVER 0x102
- #else
- typedef winampVisHeader* (__cdecl *winampVisGetHeaderType)();
- #define VIS_HDRVER 0x101
- #endif
- #define VIS_PLUGIN_UNINSTALL_NOW 0x0
- #endif
|