diff options
author | Eric Wong <e@80x24.org> | 2015-12-26 02:57:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-26 02:57:36 +0000 |
commit | 1306cf481cfa3e2452d33d848a363afa8f20c012 (patch) | |
tree | 880e08218ef238b2e2335d065a5ac302587ae3b2 /lib | |
parent | fe5aad0bdfe8e12d4cf92f9555273276fddf1aae (diff) | |
download | dtas-1306cf481cfa3e2452d33d848a363afa8f20c012.tar.gz |
We removed support for opusenc back in May as it was not really suitable for audio production and a maintenance burden. ref: commit 7ca5d0bfc714c254c374af9cbc2e024a8b439725 ("splitfx: remove support for encoding opus")
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dtas/format.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/dtas/format.rb b/lib/dtas/format.rb index ee456d1..0e1ba57 100644 --- a/lib/dtas/format.rb +++ b/lib/dtas/format.rb @@ -87,16 +87,6 @@ class DTAS::Format # :nodoc: end end - # returns 1 or 0 depending on endianess - def endian_opusenc - case e = @endian || NATIVE_ENDIAN - when "big" then "1" - when "little" then "0" - else - raise"unsupported endian=#{e}" - end - end - def to_eca_arg %W(-f #{@type}_#{endian2},#@channels,#@rate) end @@ -138,7 +128,6 @@ class DTAS::Format # :nodoc: "SOXFMT" => to_sox_arg.join(' '), "ECAFMT" => to_eca_arg.join(' '), "ENDIAN2" => endian2, - "ENDIAN_OPUSENC" => endian_opusenc, } begin # don't set these if we can't get them, SOX_FILETYPE may be enough rv["BITS_PER_SAMPLE"] = bits_per_sample.to_s |