lib/sox/combiner/process_substitution_strategy.rb
# Build the input file which can be used in the command builder to get
# the final output.
#
# @param file_path [String] path to input file
#
# @return [Sox::File]
Build the input file which can be used in the command builder to get
the final output.
Build the input file which can be used in the command builder to get the final output .
def build_input_file(file_path)
      Sox::File.new(build_converted_input(file_path),
        :type     => MEDIATE_TYPE,
        :encoding => MEDIATE_ENCODING,
        :bits     => MEDIATE_BITS,
        :channels => @options[:channels],
        :rate     => @options[:rate]
     ).tap { |file| file.escaped = true }
    end
def build_input_file ( file_path ) Sox :: File . new ( build_converted_input ( file_path ) , :type => MEDIATE_TYPE , :encoding => MEDIATE_ENCODING , :bits => MEDIATE_BITS , :channels => @options [ :channels ] , :rate => @options [ :rate ] ) . tap { | file | file . escaped = true } end
Build the input file which can be used in the command builder to get
the final output.
Build the input file which can be used in the command builder to get the final output .
None
Sox::File
file_path
path to input file
path to input file