1
0

main.h 674 B

123456789101112131415161718192021222324
  1. #ifndef NULLSOFT_IN_WAVE_MAINH
  2. #define NULLSOFT_IN_WAVE_MAINH
  3. extern volatile int currentSongLength;
  4. #define ENABLE_SNDFILE_WINDOWS_PROTOTYPES
  5. #include "sndfile.h"
  6. extern SNDFILE *sndFile;
  7. #include "../Winamp/in2.h"
  8. extern In_Module plugin;
  9. extern int pan, volume;
  10. #include <windows.h>
  11. BOOL CALLBACK PreferencesDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  12. int ExtensionExists(const char *ext, const char *extensionList);
  13. void BuildDefaultExtensions();
  14. extern char defaultExtensions[1024];
  15. void SetFileExtensions(const char *extList);
  16. int CalcBitRate(const SF_INFO *info);
  17. BOOL GetExtensionName(LPCWSTR pszExt, LPWSTR pszDest, INT cchDest);
  18. #endif