Config.h 445 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef NULLSOFT_ENC_ACM_CONFIG_H
  2. #define NULLSOFT_ENC_ACM_CONFIG_H
  3. #include <windows.h>
  4. #include <mmreg.h>
  5. #include <msacm.h>
  6. #define WFSIZ 0x800
  7. struct EXT_WFX
  8. {
  9. WAVEFORMATEX wfx;
  10. BYTE crap[WFSIZ];
  11. };
  12. struct ACMConfig
  13. {
  14. EXT_WFX convert_wfx;
  15. char wav_ext[32];
  16. bool header;
  17. bool convert;
  18. };
  19. struct ConfigWnd
  20. {
  21. ACMConfig cfg;
  22. char *configfile;
  23. };
  24. INT_PTR WINAPI DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
  25. #endif