diff options
author | RJ Ryan <rryan@mixxx.org> | 2016-01-24 22:57:41 -0800 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2016-01-24 22:57:41 -0800 |
commit | 83e58a40a109acda194078ad8e53d07de68799bd (patch) | |
tree | 1a42d622c056aee939aa618abfbcdd0969ed5a23 /src/analyzer/analyzerqueue.cpp | |
parent | 479c9e15159299667f2f7d16d65a8565f656a376 (diff) |
Use UserSettings (typedef) instead of ConfigObject.
This will allow us to experiment with different implementations for
structured user preferences. It will also reduce repeated typing of
template arguments and better represent the purpose of the object.
Diffstat (limited to 'src/analyzer/analyzerqueue.cpp')
-rw-r--r-- | src/analyzer/analyzerqueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analyzer/analyzerqueue.cpp b/src/analyzer/analyzerqueue.cpp index 8652272370..e2bca62bf3 100644 --- a/src/analyzer/analyzerqueue.cpp +++ b/src/analyzer/analyzerqueue.cpp @@ -435,7 +435,7 @@ void AnalyzerQueue::queueAnalyseTrack(TrackPointer tio) { // static AnalyzerQueue* AnalyzerQueue::createDefaultAnalyzerQueue( - ConfigObject<ConfigValue>* pConfig, TrackCollection* pTrackCollection) { + UserSettingsPointer pConfig, TrackCollection* pTrackCollection) { AnalyzerQueue* ret = new AnalyzerQueue(pTrackCollection); ret->addAnalyzer(new AnalyzerWaveform(pConfig)); @@ -452,7 +452,7 @@ AnalyzerQueue* AnalyzerQueue::createDefaultAnalyzerQueue( // static AnalyzerQueue* AnalyzerQueue::createAnalysisFeatureAnalyzerQueue( - ConfigObject<ConfigValue>* pConfig, TrackCollection* pTrackCollection) { + UserSettingsPointer pConfig, TrackCollection* pTrackCollection) { AnalyzerQueue* ret = new AnalyzerQueue(pTrackCollection); ret->addAnalyzer(new AnalyzerGain(pConfig)); |