1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Fix MSVC build.

This commit is contained in:
James Crook
2018-03-25 21:07:33 +01:00
parent 4c9bff73e3
commit 602be9bea6
3 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
/// These ditherers are currently available: /// These ditherers are currently available:
enum class DitherType : unsigned { enum DitherType : unsigned {
none = 0, rectangle = 1, triangle = 2, shaped = 3 }; none = 0, rectangle = 1, triangle = 2, shaped = 3 };
class Dither class Dither

View File

@@ -74,7 +74,7 @@ static_assert(
"size mismatch" "size mismatch"
); );
static const int defaultFastDither = 0; // none static const size_t defaultFastDither = 0; // none
static EncodedEnumSetting fastDitherSetting{ static EncodedEnumSetting fastDitherSetting{
wxT("Quality/DitherAlgorithmChoice"), wxT("Quality/DitherAlgorithmChoice"),
@@ -83,7 +83,7 @@ static EncodedEnumSetting fastDitherSetting{
wxT("Quality/DitherAlgorithm") wxT("Quality/DitherAlgorithm")
}; };
static const int defaultBestDither = 3; // shaped static const size_t defaultBestDither = 3; // shaped
static EncodedEnumSetting bestDitherSetting{ static EncodedEnumSetting bestDitherSetting{
wxT("Quality/HQDitherAlgorithmChoice"), wxT("Quality/HQDitherAlgorithmChoice"),

View File

@@ -23,7 +23,7 @@
class ShuttleGui; class ShuttleGui;
enum sampleFormat : unsigned; enum sampleFormat : unsigned;
enum class DitherType : unsigned; enum DitherType : unsigned;
class QualityPrefs final : public PrefsPanel class QualityPrefs final : public PrefsPanel
{ {