Method: EasyAudioUtils#convert

Defined in:
lib/easyaudio_utils.rb

#convertObject

convert either wav to ogg or ogg to wav



89
90
91
92
93
94
95
96
97
# File 'lib/easyaudio_utils.rb', line 89

def convert()

  if File.extname(@file_in) == '.ogg' then
    ogg_to_wav() if File.extname(@file_out) == '.wav'
  else
    wav_to_ogg() if File.extname(@file_out) == '.ogg'
  end

end