From 6d80dce66d91b44109f8106e00726b520473d7e8 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Thu, 11 Apr 2019 15:52:41 -0500 Subject: [PATCH] Sent voice messages from socializer should work in phones now --- src/sound.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sound.py b/src/sound.py index 127c087..9fb37e0 100644 --- a/src/sound.py +++ b/src/sound.py @@ -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: