sox: the parameter -w was deprecated in 13.0.0 and removed in 14.1.0

This commit is contained in:
Lars Immisch 2012-03-23 23:56:31 +01:00
parent 7455aff14d
commit 4775a92ad3
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# -*- mode: python -*-
# cs_helpers.py - some helper functions for CapiSuite scripts
# -----------------------------------------------------------
# helpers.py - some helper functions for CapiSuite scripts
# -----------------------------------------------------------
# copyright : (C) 2002 by Gernot Hillier
# email : gernot@hillier.de
# version : $Revision: 1.20 $
@ -91,7 +91,7 @@ def cff2ps(infile, outfile):
__call("cff to ps", "jpeg2ps", "-m", infile , "-o", outfile)
def la2wav(infile, outfile):
__call('la to wav', "sox", infile, '-w', outfile)
__call('la to wav', "sox", "-c", "1", "-r", "8000", infile, outfile)
class ConvertionError(Exception): pass