Sent voice messages from socializer should work in phones now

This commit is contained in:
Manuel Cortez 2019-04-11 15:52:41 -05:00
parent 3d765dd701
commit 6d80dce66d

View File

@ -17,8 +17,8 @@ from sound_lib import output, input
log = logging.getLogger("sound")
def recode_audio(filename, quality=4.5):
subprocess.call(r'"%s" -q %r "%s"' % (os.path.join(paths.app_path(), 'oggenc2.exe'), quality, filename))
def recode_audio(filename, quality=10):
subprocess.call(r'"%s" --downmix -q %r "%s"' % (os.path.join(paths.app_path(), 'oggenc2.exe'), quality, filename))
def get_recording(filename):
# try: