Index: webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/eval_scores.py |
diff --git a/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/eval_scores.py b/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/eval_scores.py |
index 202a3b73a1131fec1d1c1eedd56a8867a20685c9..90b88ed44dae683c7165b60f46c48b1e7b90655a 100644 |
--- a/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/eval_scores.py |
+++ b/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/eval_scores.py |
@@ -107,8 +107,9 @@ class AudioLevelScore(EvaluationScore): |
EvaluationScore.__init__(self) |
def _run(self, output_path): |
- # TODO(alessio): implement. |
- self._score = 0.0 |
+ self._load_reference_signal() |
+ self._load_tested_signal() |
+ self._score = self._tested_signal.dBFS - self._reference_signal.dBFS |
self._save_score() |