mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 19:52:19 +01:00
Dither.cpp and SampleFormat.cpp have fewer dependencies...
... Notably they longer depend indirectly on AudioIO.cpp (via QualityPrefs) This frees nine files from dependency cycles
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
#include "Prefs.h"
|
||||
#include "Dither.h"
|
||||
#include "prefs/QualityPrefs.h"
|
||||
#include "Internat.h"
|
||||
|
||||
static DitherType gLowQualityDither = DitherType::none;
|
||||
static DitherType gHighQualityDither = DitherType::none;
|
||||
@@ -53,8 +53,8 @@ static Dither gDitherAlgorithm;
|
||||
void InitDitherers()
|
||||
{
|
||||
// Read dither preferences
|
||||
gLowQualityDither = QualityPrefs::FastDitherChoice();
|
||||
gHighQualityDither = QualityPrefs::BestDitherChoice();
|
||||
gLowQualityDither = Dither::FastDitherChoice();
|
||||
gHighQualityDither = Dither::BestDitherChoice();
|
||||
}
|
||||
|
||||
const wxChar *GetSampleFormatStr(sampleFormat format)
|
||||
|
||||
Reference in New Issue
Block a user