From 70b81da26a525486c288176e5764c875c752d0b8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 25 Jan 2016 01:03:18 +0000 Subject: mlib: support all formats of player Almost, we will need to get a list of all suffixes supported by ffprobe or avprobe. This could prove tricky.. --- lib/dtas/source/splitfx.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/dtas/source/splitfx.rb') diff --git a/lib/dtas/source/splitfx.rb b/lib/dtas/source/splitfx.rb index d824959..f746bee 100644 --- a/lib/dtas/source/splitfx.rb +++ b/lib/dtas/source/splitfx.rb @@ -107,6 +107,10 @@ class DTAS::Source::SplitFX < DTAS::Source::Sox # :nodoc: @sox.samples end + def duration + @sox.duration + end + def source_defaults SPLITFX_DEFAULTS end -- cgit v1.2.3-24-ge0c7