Sent voice messages from socializer should work in phones now
This commit is contained in:
parent
3d765dd701
commit
6d80dce66d
@ -17,8 +17,8 @@ from sound_lib import output, input
|
|||||||
|
|
||||||
log = logging.getLogger("sound")
|
log = logging.getLogger("sound")
|
||||||
|
|
||||||
def recode_audio(filename, quality=4.5):
|
def recode_audio(filename, quality=10):
|
||||||
subprocess.call(r'"%s" -q %r "%s"' % (os.path.join(paths.app_path(), 'oggenc2.exe'), quality, filename))
|
subprocess.call(r'"%s" --downmix -q %r "%s"' % (os.path.join(paths.app_path(), 'oggenc2.exe'), quality, filename))
|
||||||
|
|
||||||
def get_recording(filename):
|
def get_recording(filename):
|
||||||
# try:
|
# try:
|
||||||
|
Loading…
Reference in New Issue
Block a user