00001 /* 00002 * Copyright (C) 2003-2005 Gabest 00003 * http://www.gabest.org 00004 * 00005 * This Program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2, or (at your option) 00008 * any later version. 00009 * 00010 * This Program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with GNU Make; see the file COPYING. If not, write to 00017 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 00018 * http://www.gnu.org/copyleft/gpl.html 00019 * 00020 */ 00021 00022 #pragma once 00023 00024 #include "PPageBase.h" 00025 #include "..\..\filters\transform\MpaDecFilter\MpaDecFilter.h" 00026 #include "afxwin.h" 00027 #include "afxcmn.h" 00028 00029 // CPPageAudioDecoder dialog 00030 00031 class CPPageAudioDecoder : public CPPageBase 00032 { 00033 DECLARE_DYNAMIC(CPPageAudioDecoder) 00034 00035 protected: 00036 CInterfaceList<IMpaDecFilter> m_pMDFs; 00037 00038 public: 00039 CPPageAudioDecoder(IFilterGraph* pFG); // standard constructor 00040 virtual ~CPPageAudioDecoder(); 00041 00042 // Dialog Data 00043 enum { IDD = IDD_PPAGEAUDIODEC }; 00044 int m_iSampleFormat; 00045 BOOL m_fNormalize; 00046 BOOL m_fAc3SpeakerConfig; 00047 int m_iAc3SpeakerConfig; 00048 BOOL m_fAc3SpeakerConfigLFE; 00049 BOOL m_fAc3DynamicRangeControl; 00050 CComboBox m_ac3sclist; 00051 BOOL m_fDtsSpeakerConfig; 00052 int m_iDtsSpeakerConfig; 00053 BOOL m_fDtsSpeakerConfigLFE; 00054 BOOL m_fDtsDynamicRangeControl; 00055 CComboBox m_dtssclist; 00056 int m_iAacSpeakerConfig; 00057 int m_boost; 00058 CSliderCtrl m_boostctrl; 00059 00060 protected: 00061 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00062 virtual BOOL OnInitDialog(); 00063 virtual BOOL OnApply(); 00064 00065 DECLARE_MESSAGE_MAP() 00066 public: 00067 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 00068 };