Sha256: d83c815ceebf75dd8f2e6ba86add3a39daf29890bc4d8fa533870f90f45ef844

Contents?: true

Size: 625 Bytes

Versions: 10

Compression:

Stored size: 625 Bytes

Contents

# -*- encoding: UTF-8 -*-
require 'csd/application/default/base'
require 'csd/application/decklink/base'

module CSD
  module Application
    # This is the Application Module for Decklink, a capture card device used in MiniSIP.
    #
    module Decklink
      class << self

        include CSD::Application::Default

        # This method will check which system we're on and initialize the correct sub-module
        #
        def instance
          if Gem::Platform.local.debian?
            Base.new
          else
            raise 'Operating system not supported'
          end
        end

      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
csd-0.2.0 lib/csd/application/decklink.rb
csd-0.1.18 lib/csd/application/decklink.rb
csd-0.1.17 lib/csd/application/decklink.rb
csd-0.1.16 lib/csd/application/decklink.rb
csd-0.1.15 lib/csd/application/decklink.rb
csd-0.1.14 lib/csd/application/decklink.rb
csd-0.1.13 lib/csd/application/decklink.rb
csd-0.1.12 lib/csd/application/decklink.rb
csd-0.1.11 lib/csd/application/decklink.rb
csd-0.1.10 lib/csd/application/decklink.rb