mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 16:43:33 +02:00
Fix MSVC build.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
|
||||
/// These ditherers are currently available:
|
||||
enum class DitherType : unsigned {
|
||||
enum DitherType : unsigned {
|
||||
none = 0, rectangle = 1, triangle = 2, shaped = 3 };
|
||||
|
||||
class Dither
|
||||
|
@@ -74,7 +74,7 @@ static_assert(
|
||||
"size mismatch"
|
||||
);
|
||||
|
||||
static const int defaultFastDither = 0; // none
|
||||
static const size_t defaultFastDither = 0; // none
|
||||
|
||||
static EncodedEnumSetting fastDitherSetting{
|
||||
wxT("Quality/DitherAlgorithmChoice"),
|
||||
@@ -83,7 +83,7 @@ static EncodedEnumSetting fastDitherSetting{
|
||||
wxT("Quality/DitherAlgorithm")
|
||||
};
|
||||
|
||||
static const int defaultBestDither = 3; // shaped
|
||||
static const size_t defaultBestDither = 3; // shaped
|
||||
|
||||
static EncodedEnumSetting bestDitherSetting{
|
||||
wxT("Quality/HQDitherAlgorithmChoice"),
|
||||
|
@@ -23,7 +23,7 @@
|
||||
|
||||
class ShuttleGui;
|
||||
enum sampleFormat : unsigned;
|
||||
enum class DitherType : unsigned;
|
||||
enum DitherType : unsigned;
|
||||
|
||||
class QualityPrefs final : public PrefsPanel
|
||||
{
|
||||
|
Reference in New Issue
Block a user