Skip to content

Commit

Permalink
AudioAnalyzer: fix empty image being rewritten on disk many times
Browse files Browse the repository at this point in the history
  • Loading branch information
d-uzlov committed Mar 3, 2021
1 parent a05abae commit eeec1b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AudioAnalyzer/sources/rxtd/audio_analyzer/AudioParent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ void AudioParent::resolveProp(
resolveBufferString = bp.getBufferView();
}

void AudioParent::runFinishers(ProcessingOrchestrator::Snapshot snapshot) const {
void AudioParent::runFinishers(ProcessingOrchestrator::Snapshot& snapshot) const {
for (const auto& [procName, procInfo] : paramParser.getParseResult()) {
auto procIter = snapshot.find(procName);
if (procIter == snapshot.end()) { continue; }
Expand Down
2 changes: 1 addition & 1 deletion AudioAnalyzer/sources/rxtd/audio_analyzer/AudioParent.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ namespace rxtd::audio_analyzer {
isview procName, Channel channel, isview handlerName, isview propName
);

void runFinishers(ProcessingOrchestrator::Snapshot snapshot) const;
void runFinishers(ProcessingOrchestrator::Snapshot& snapshot) const;
};
}

0 comments on commit eeec1b4

Please sign in to comment.