]> git.parisson.com Git - telemeta.git/commitdiff
add --single-threaded argument to sox decoding command
authoryomguy <>
Sat, 10 Apr 2010 16:57:16 +0000 (16:57 +0000)
committeryomguy <>
Sat, 10 Apr 2010 16:57:16 +0000 (16:57 +0000)
telemeta/export/flac.py
telemeta/export/mp3.py
telemeta/export/ogg.py

index c9024abb325d1b7c3e835e2013e520d716b5e4e1..6282d05f145b6fbf8f1e14595bb36152fbb29e4e 100644 (file)
@@ -145,7 +145,7 @@ class FlacExporter(ExporterCore):
         self.args = self.get_args(options)
         self.ext = self.get_file_extension()
         self.args = ' '.join(self.args)
-        self.command = 'sox "%s" -s -q -b 16 -t wav -c2 - | flac -c %s - ' % (self.source, self.args)
+        self.command = 'sox "%s"  --single-threaded -q -b 16 -t wav -c2 - | flac -c %s - ' % (self.source, self.args)
 
         # Pre-proccessing
         self.dest = self.pre_process(self.item_id,
index d6c7d1678d0e81f250d9451c26bc1edcee04bf1e..e5317be7c4a338b109ea0fd231815ea4638cfd59 100644 (file)
@@ -156,7 +156,7 @@ class Mp3Exporter(ExporterCore):
         self.args = self.get_args(options)
         self.ext = self.get_file_extension()
         self.args = ' '.join(self.args)
-        self.command = 'sox "%s" -q -b 16 -t wav - | lame %s -' % (self.source, self.args)
+        self.command = 'sox "%s" --single-threaded -q -b 16 -t wav - | lame %s -' % (self.source, self.args)
         #self.command = 'lame %s "%s" -' % (self.args, self.source)
 
         # Pre-proccessing
index 3a58f6e499cd8f26c5f812b881d6a610a53ad6c4..d2328fc250323af9f1f727e9d5603b4ce9fc1d77 100644 (file)
@@ -131,7 +131,7 @@ class OggExporter(ExporterCore):
         self.args = self.get_args(options)
         self.ext = self.get_file_extension()
         self.args = ' '.join(self.args)
-        self.command = 'sox "%s" -s -q -b 16 -t wav -c2 - | oggenc %s -' % (self.source, self.args)
+        self.command = 'sox "%s"  --single-threaded -q -b 16 -t wav -c2 - | oggenc %s -' % (self.source, self.args)
 
         # Pre-proccessing
         self.dest = self.pre_process(self.item_id,