1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- #ifndef NULLSOFT_WINAMP_DSP_H
- #define NULLSOFT_WINAMP_DSP_H
- typedef struct winampDSPModule
- {
- char *description;
- HWND hwndParent;
- HINSTANCE hDllInstance;
- void( __cdecl *Config )( struct winampDSPModule *this_mod );
- int( __cdecl *Init )( struct winampDSPModule *this_mod );
-
-
-
- int( __cdecl *ModifySamples )( struct winampDSPModule *this_mod, short int *samples, int numsamples, int bps, int nch, int srate );
- void( __cdecl *Quit )( struct winampDSPModule *this_mod );
- void *userData;
- } winampDSPModule;
- typedef struct
- {
- int version;
- char *description;
- winampDSPModule *( __cdecl *getModule )( int );
- int( __cdecl *sf )( int key );
- } winampDSPHeader;
- #ifdef USE_DSP_HDR_HWND
- typedef winampDSPHeader *( __cdecl *winampDSPGetHeaderType )( HWND );
- #define DSP_HDRVER 0x22
- #else
- typedef winampDSPHeader *( __cdecl *winampDSPGetHeaderType )( HWND );
- #define DSP_HDRVER 0x20
- #endif
- #define DSP_PLUGIN_UNINSTALL_NOW 0x0
- #define DSP_PLUGIN_UNINSTALL_REBOOT 0x1
- #endif
|