#include "MeterPanel.h"
#include <algorithm>
#include <wx/setup.h>
#include <wx/wxcrtvararg.h>
#include <wx/defs.h>
#include <wx/dcbuffer.h>
#include <wx/frame.h>
#include <wx/menu.h>
#include <wx/settings.h>
#include <wx/textdlg.h>
#include <wx/numdlg.h>
#include <wx/radiobut.h>
#include <wx/tooltip.h>
#include <math.h>
#include "AudioIO.h"
#include "AColor.h"
#include "../widgets/BasicMenu.h"
#include "ImageManipulation.h"
#include "Decibels.h"
#include "LinearUpdater.h"
#include "Project.h"
#include "ProjectAudioIO.h"
#include "ProjectStatus.h"
#include "../ProjectWindows.h"
#include "Prefs.h"
#include "ShuttleGui.h"
#include "Theme.h"
#include "wxWidgetsWindowPlacement.h"
#include "../widgets/LinearDBFormat.h"
#include "../widgets/RealFormat.h"
#include "AllThemeResources.h"
#include "../widgets/valnum.h"
#include "../../images/SpeakerMenu.xpm"
#include "../../images/MicMenu.xpm"
Go to the source code of this file.
◆ anonymous enum
Enumerator |
---|
OnMeterUpdateID | |
OnMonitorID | |
OnPreferencesID | |
OnTipTimeoutID | |
Definition at line 203 of file MeterPanel.cpp.
◆ ClipZeroToOne()
static float ClipZeroToOne |
( |
float |
z | ) |
|
|
static |
Definition at line 877 of file MeterPanel.cpp.
878{
879 if (z > 1.0)
880 return 1.0;
881 else if (z < 0.0)
882 return 0.0;
883 else
884 return z;
885}
Referenced by ToDB().
◆ floatMax()
static float floatMax |
( |
float |
a, |
|
|
float |
b |
|
) |
| |
|
static |
◆ intmax()
static int intmax |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
static |
◆ MeterPrefsID()
static int MeterPrefsID |
( |
| ) |
|
|
static |
◆ ToDB()
static float ToDB |
( |
float |
v, |
|
|
float |
range |
|
) |
| |
|
static |
◆ gap
◆ MAX_REFRESH_RATE
const long MAX_REFRESH_RATE = 100 |
|
static |
◆ MIN_REFRESH_RATE
const long MIN_REFRESH_RATE = 1 |
|
static |
◆ PrefStyles
const wxChar* PrefStyles[] |
|
static |