mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
mention sox failure
This commit is contained in:
parent
fa513cab72
commit
e75036adde
1 changed files with 7 additions and 1 deletions
|
@ -164,7 +164,13 @@ class _Recorder(object):
|
||||||
#print c
|
#print c
|
||||||
ret = retryWait(subprocess.Popen(c, startupinfo=si))
|
ret = retryWait(subprocess.Popen(c, startupinfo=si))
|
||||||
if ret:
|
if ret:
|
||||||
raise Exception("Problem with" + str(c))
|
raise Exception(_("""
|
||||||
|
Error processing audio.
|
||||||
|
|
||||||
|
If you're on Linux and don't have sox 14.1+, you
|
||||||
|
need to disable normalization. See the wiki.
|
||||||
|
|
||||||
|
Command was:\n""") + " ".join(c))
|
||||||
|
|
||||||
class PyAudioThreadedRecorder(threading.Thread):
|
class PyAudioThreadedRecorder(threading.Thread):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue