Implement a basic full flow
This commit is contained in:
@@ -4,7 +4,7 @@ import subprocess
|
||||
def encode_lc3(file):
|
||||
|
||||
file = file.replace('.wav', '')
|
||||
ret = subprocess.run(['elc3', '-b', '48000', f'{file}.wav', f'{file}.lc3'])
|
||||
ret = subprocess.run(['elc3', '-b', '48000', f'{file}.wav', f'{file}.lc3'], check=True)
|
||||
|
||||
return ret.returncode, ret.stdout, ret.stderr
|
||||
|
||||
|
||||
Reference in New Issue
Block a user