CC-2111 : Show-recorder should automatically NOT record silence
a user might want to adjust these sound levels for their own system setup.
This commit is contained in:
parent
c0e8152077
commit
18ef86cee1
|
@ -61,7 +61,7 @@ class ShowRecorder(Thread):
|
||||||
filename = self.filename.replace(" ", "-")
|
filename = self.filename.replace(" ", "-")
|
||||||
filepath = "%s%s.%s" % (config["base_recorded_files"], filename, self.filetype)
|
filepath = "%s%s.%s" % (config["base_recorded_files"], filename, self.filetype)
|
||||||
|
|
||||||
command = "ecasound -i alsa -o %s -t:%s" % (filepath, length)
|
command = "ecasound -i alsa -o %s -t:%s -ge:5,1,0,-1" % (filepath, length)
|
||||||
args = command.split(" ")
|
args = command.split(" ")
|
||||||
|
|
||||||
print "starting record"
|
print "starting record"
|
||||||
|
|
Loading…
Reference in New Issue