Audacity 3.2.0
QualityPrefs.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 QualityPrefs.h
6
7 Joshua Haberman
8 James Crook
9
10**********************************************************************/
11
12#ifndef __AUDACITY_QUALITY_PREFS__
13#define __AUDACITY_QUALITY_PREFS__
14
15#include <vector>
16#include <wx/defs.h>
17
18#include "PrefsPanel.h"
19
20class ShuttleGui;
21enum class sampleFormat : unsigned;
22enum DitherType : unsigned;
23
24#define QUALITY_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Quality") }
25
26class AUDACITY_DLL_API QualityPrefs final : public PrefsPanel
27{
28 public:
29 QualityPrefs(wxWindow * parent, wxWindowID winid);
30 virtual ~QualityPrefs();
31 ComponentInterfaceSymbol GetSymbol() const override;
32 TranslatableString GetDescription() const override;
33
34 bool Commit() override;
35 ManualPageID HelpPageName() override;
36 void PopulateOrExchange(ShuttleGui & S) override;
37
38 private:
39 void Populate();
40
41 DECLARE_EVENT_TABLE()
42};
43
44#endif
DitherType
These ditherers are currently available:
Definition: Dither.h:19
sampleFormat
The ordering of these values with operator < agrees with the order of increasing bit width.
Definition: SampleFormat.h:30
#define S(N)
Definition: ToChars.cpp:64
virtual ComponentInterfaceSymbol GetSymbol() const =0
virtual TranslatableString GetDescription() const =0
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Definition: PrefsPanel.h:51
virtual ManualPageID HelpPageName()
If not empty string, the Help button is added below the panel.
Definition: PrefsPanel.cpp:60
virtual bool Commit()=0
virtual void PopulateOrExchange(ShuttleGui &WXUNUSED(S))
Definition: PrefsPanel.h:120
A PrefsPanel used for setting audio quality.
Definition: QualityPrefs.h:27
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:640
Holds a msgid for the translation catalog; may also bind format arguments.