PropPage_adv.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * LAME MP3 encoder for DirectShow
  3. * Advanced property page
  4. *
  5. * Copyright (c) 2000-2005 Marie Orlova, Peter Gubanov, Vitaly Ivanov, Elecard Ltd.
  6. *
  7. * This library is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU Library General Public
  9. * License as published by the Free Software Foundation; either
  10. * version 2 of the License, or (at your option) any later version.
  11. *
  12. * This library is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Library General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Library General Public
  18. * License along with this library; if not, write to the
  19. * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  20. * Boston, MA 02111-1307, USA.
  21. */
  22. class CMpegAudEncPropertyPageAdv : public CBasePropertyPage
  23. {
  24. public:
  25. static CUnknown *CreateInstance( LPUNKNOWN punk, HRESULT *phr );
  26. CMpegAudEncPropertyPageAdv( LPUNKNOWN punk, HRESULT *phr );
  27. HRESULT OnConnect(IUnknown *pUnknown);
  28. HRESULT OnDisconnect();
  29. HRESULT OnActivate();
  30. HRESULT OnDeactivate();
  31. HRESULT OnApplyChanges();
  32. BOOL OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
  33. private:
  34. void InitPropertiesDialog(HWND hwndParent);
  35. void EnableControls(HWND hwndParent, bool bEnable);
  36. void SetDirty(void);
  37. DWORD m_dwEnforceVBRmin;
  38. DWORD m_dwVoiceMode;
  39. DWORD m_dwKeepAllFreq;
  40. DWORD m_dwStrictISO;
  41. DWORD m_dwNoShortBlock;
  42. DWORD m_dwXingTag;
  43. DWORD m_dwChannelMode;
  44. DWORD m_dwForceMS;
  45. DWORD m_dwModeFixed;
  46. DWORD m_dwOverlap;
  47. DWORD m_dwSetStop;
  48. IAudioEncoderProperties *m_pAEProps;
  49. };