Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

AudioDisplay.h

Go to the documentation of this file.
00001 /* audiodevs: Abstraction layer for audio hardware & samples 00002 Copyright (C) 2003-2004 Nemosoft Unv. 00003 00004 This program is free software; you can redistribute it and/or modify 00005 it under the terms of the GNU General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 00018 For questions, remarks, patches, etc. for this program, the author can be 00019 reached at camstream@smcc.demon.nl. 00020 */ 00021 00022 #ifndef AUDIODISPLAY_HPP 00023 #define AUDIODISPLAY_HPP 00024 00025 #ifdef HAVE_CONFIG_H 00026 #include "config.h" 00027 #endif 00028 00029 #include <qsize.h> 00030 #include <qwidget.h> 00031 00032 #include "AudioDevice.h" 00033 #include "AudioDisplayVolume.h" 00034 #include "leftdialog.h" 00035 00036 class CAudioDisplayFFT; 00037 00038 class CAudioDisplay: public QWidget 00039 { 00040 Q_OBJECT 00041 private: 00042 /* left hand side */ 00043 CAuControls *m_pLeftSide; 00044 CAudioDevice *m_pAudio; 00045 int m_LeftWidth; 00046 QSize m_MySize; 00047 00048 QDomNode m_OrgMixerSettings; 00049 /* right hand side */ 00050 CAudioDisplayVolume *m_pVolume; 00051 // CAudioDisplayFFT *pFFT; 00052 00053 void Audio2Dlg(); 00054 void ArrangeRight(); 00055 00056 private slots: 00057 void ToggleVolumeBars(bool); 00058 void ToggleFFT(bool); 00059 00060 void ResetMixerSettings(); 00061 00062 public: 00063 CAudioDisplay(CAudioDevice *audio_device, QWidget *parent = 0, const char *name = 0); 00064 ~CAudioDisplay(); 00065 00066 virtual QSize sizeHint() const; 00067 }; 00068 00069 00070 #endif

Generated on Wed Dec 13 23:38:46 2006 for CamStream by doxygen 1.3.7