Module: Hindbaer::Plugin

Extended by:
Plugin
Included in:
Plugin
Defined in:
lib/hindbaer/plugin.rb,
lib/hindbaer/plugin/base.rb,
lib/hindbaer/plugin/equalizer.rb,
lib/hindbaer/plugin/compressor.rb,
lib/hindbaer/plugin/voice_profiler.rb

Defined Under Namespace

Classes: Base, Compressor, Equalizer, VoiceProfiler

Instance Method Summary collapse

Instance Method Details

#parse(fragment) ⇒ Object



10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/hindbaer/plugin.rb', line 10

def parse(fragment)
  case fragment['UID']
  when 'nheq'
    Hindbaer::Plugin::Equalizer.parse(fragment)
  when 'nhcl'
    Hindbaer::Plugin::Compressor.parse(fragment)
  when 'nhlu'
    Hindbaer::Plugin::Base.parse(fragment)
  when 'nhft'
    Hindbaer::Plugin::VoiceProfiler.parse(fragment)
  end
end