diff options
-rw-r--r-- | lib/dtas/splitfx.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb index 08ab13f..b83f7db 100644 --- a/lib/dtas/splitfx.rb +++ b/lib/dtas/splitfx.rb @@ -167,6 +167,12 @@ class DTAS::SplitFX # :nodoc: def spawn(target, t, opts) target = @targets[target] || generic_target(target) outfmt = target["format"] + + # default format: + unless outfmt + outfmt = @infmt.dup + outfmt.type = "flac" + end env = outfmt.to_env # set very high quality resampling if using 24-bit or higher output |