Loading ivas_processing_scripts/audiotools/wrappers/bs1770.py +2 −4 Original line number Diff line number Diff line Loading @@ -33,7 +33,6 @@ import copy import logging import re import subprocess as sp from pathlib import Path from tempfile import TemporaryDirectory from typing import Optional, Tuple, Union Loading Loading @@ -84,9 +83,8 @@ def bs1770demo( binary = find_binary("bs1770demo") # checking if the new binary (with '-rms') is used result = sp.run(str(binary), shell=True, stdout=sp.PIPE, stderr=sp.PIPE) result_stdout = result.stdout.decode("utf-8") if "-rms" not in result_stdout: result_check = run([str(binary)], check=False) if "-rms" not in result_check.stdout: raise RuntimeError( 'An bs1770demo executable without RMS support (cmdl option "-rms") was detected. Please update the bs1770demo executable. See bin/README.md for details.' ) Loading Loading
ivas_processing_scripts/audiotools/wrappers/bs1770.py +2 −4 Original line number Diff line number Diff line Loading @@ -33,7 +33,6 @@ import copy import logging import re import subprocess as sp from pathlib import Path from tempfile import TemporaryDirectory from typing import Optional, Tuple, Union Loading Loading @@ -84,9 +83,8 @@ def bs1770demo( binary = find_binary("bs1770demo") # checking if the new binary (with '-rms') is used result = sp.run(str(binary), shell=True, stdout=sp.PIPE, stderr=sp.PIPE) result_stdout = result.stdout.decode("utf-8") if "-rms" not in result_stdout: result_check = run([str(binary)], check=False) if "-rms" not in result_check.stdout: raise RuntimeError( 'An bs1770demo executable without RMS support (cmdl option "-rms") was detected. Please update the bs1770demo executable. See bin/README.md for details.' ) Loading