From 68ffa097e187da663fa3f537b430428ea5e8de2e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 25 Aug 2013 09:25:07 +0000 Subject: split out source handling to prepare for avconv/ffmpeg support We should've done this at the start, but we didn't. --- lib/dtas/format.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/dtas/format.rb') diff --git a/lib/dtas/format.rb b/lib/dtas/format.rb index 83a541a..a6e424b 100644 --- a/lib/dtas/format.rb +++ b/lib/dtas/format.rb @@ -75,6 +75,7 @@ class DTAS::Format # :nodoc: ivars_to_hash(SIVS) end + # FIXME, move to per-source (sox/avconv/ffmpeg) def from_file(path) @channels = qx(%W(soxi -c #{path})).to_i @type = qx(%W(soxi -t #{path})).strip -- cgit v1.2.3-24-ge0c7